Experiment fixes.
[wolnelektury.git] / src / club / migrations / 0036_auto_20210730_1437.py
1 # Generated by Django 2.2.19 on 2021-07-30 12:37
2
3 from django.db import migrations
4 import django_countries.fields
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10         ('club', '0035_schedule_postal_town'),
11     ]
12
13     operations = [
14         migrations.RenameField(
15             model_name='schedule',
16             old_name='postal_1',
17             new_name='postal',
18         ),
19         migrations.RemoveField(
20             model_name='schedule',
21             name='postal_2',
22         ),
23         migrations.RemoveField(
24             model_name='schedule',
25             name='postal_3',
26         ),
27         migrations.RemoveField(
28             model_name='schedule',
29             name='postal_4',
30         ),
31         migrations.AlterField(
32             model_name='schedule',
33             name='postal_country',
34             field=django_countries.fields.CountryField(blank=True, default='PL', max_length=2),
35         ),
36     ]