ref: remove multi-city support

This commit is contained in:
relikd
2024-07-28 00:57:38 +02:00
parent d0dd4e7925
commit 571d8fdb56
12 changed files with 48 additions and 230 deletions

View File

@@ -0,0 +1,22 @@
# Generated by Django 4.2.13 on 2024-07-27 23:43
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='place',
name='city',
),
migrations.DeleteModel(
name='City',
),
migrations.RunSQL(
"UPDATE app_place SET img = 'img/'||id||'.jpg' WHERE img != '';"),
]