More data in payment form.
[wolnelektury.git] / src / club / migrations / 0036_auto_20210730_1437.py
diff --git a/src/club/migrations/0036_auto_20210730_1437.py b/src/club/migrations/0036_auto_20210730_1437.py
new file mode 100644 (file)
index 0000000..28779fb
--- /dev/null
@@ -0,0 +1,36 @@
+# Generated by Django 2.2.19 on 2021-07-30 12:37
+
+from django.db import migrations
+import django_countries.fields
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('club', '0035_schedule_postal_town'),
+    ]
+
+    operations = [
+        migrations.RenameField(
+            model_name='schedule',
+            old_name='postal_1',
+            new_name='postal',
+        ),
+        migrations.RemoveField(
+            model_name='schedule',
+            name='postal_2',
+        ),
+        migrations.RemoveField(
+            model_name='schedule',
+            name='postal_3',
+        ),
+        migrations.RemoveField(
+            model_name='schedule',
+            name='postal_4',
+        ),
+        migrations.AlterField(
+            model_name='schedule',
+            name='postal_country',
+            field=django_countries.fields.CountryField(blank=True, default='PL', max_length=2),
+        ),
+    ]