X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f2cd20cec6083c7bc8fb17706b1718faa09a6139..3f527019946f993c9d1cadd41e80c2c7eac188ed:/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 index 000000000..28779fb93 --- /dev/null +++ b/src/club/migrations/0036_auto_20210730_1437.py @@ -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), + ), + ]