More data in payment form.
[wolnelektury.git] / src / club / migrations / 0032_auto_20210730_1104.py
diff --git a/src/club/migrations/0032_auto_20210730_1104.py b/src/club/migrations/0032_auto_20210730_1104.py
new file mode 100644 (file)
index 0000000..4c02e1f
--- /dev/null
@@ -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'),
+        ),
+    ]