add a filter
[wolnelektury.git] / src / club / migrations / 0032_auto_20210730_1104.py
1 # Generated by Django 2.2.19 on 2021-07-30 09:04
2
3 from django.db import migrations, models
4
5
6 class Migration(migrations.Migration):
7
8     dependencies = [
9         ('club', '0031_auto_20210622_0945'),
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Consent',
15             fields=[
16                 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17                 ('order', models.IntegerField()),
18                 ('active', models.BooleanField(default=True)),
19                 ('text', models.CharField(max_length=2048)),
20                 ('required', models.BooleanField()),
21             ],
22             options={
23                 'ordering': ['order'],
24             },
25         ),
26         migrations.AddField(
27             model_name='schedule',
28             name='consent',
29             field=models.ManyToManyField(to='club.Consent'),
30         ),
31     ]