X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f2cd20cec6083c7bc8fb17706b1718faa09a6139..3f527019946f993c9d1cadd41e80c2c7eac188ed:/src/club/migrations/0032_auto_20210730_1104.py?ds=inline diff --git a/src/club/migrations/0032_auto_20210730_1104.py b/src/club/migrations/0032_auto_20210730_1104.py new file mode 100644 index 000000000..4c02e1ff1 --- /dev/null +++ b/src/club/migrations/0032_auto_20210730_1104.py @@ -0,0 +1,31 @@ +# Generated by Django 2.2.19 on 2021-07-30 09:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('club', '0031_auto_20210622_0945'), + ] + + operations = [ + migrations.CreateModel( + name='Consent', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('order', models.IntegerField()), + ('active', models.BooleanField(default=True)), + ('text', models.CharField(max_length=2048)), + ('required', models.BooleanField()), + ], + options={ + 'ordering': ['order'], + }, + ), + migrations.AddField( + model_name='schedule', + name='consent', + field=models.ManyToManyField(to='club.Consent'), + ), + ]