gestioCOF/events/migrations/0004_unique_constraints.py

36 lines
1,004 B
Python
Raw Normal View History

2020-05-20 17:41:25 +02:00
# Generated by Django 2.2.12 on 2020-05-20 15:41
from django.conf import settings
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
("events", "0003_options_and_extra_fields"),
]
operations = [
migrations.AlterUniqueTogether(
2020-08-28 18:00:54 +02:00
name="extrafield",
unique_together={("event", "name")},
2020-05-20 17:41:25 +02:00
),
migrations.AlterUniqueTogether(
2020-08-28 18:00:54 +02:00
name="extrafieldcontent",
unique_together={("field", "registration")},
2020-05-20 17:41:25 +02:00
),
migrations.AlterUniqueTogether(
2020-08-28 18:00:54 +02:00
name="option",
unique_together={("event", "name")},
2020-05-20 17:41:25 +02:00
),
migrations.AlterUniqueTogether(
2020-08-28 18:00:54 +02:00
name="optionchoice",
unique_together={("option", "choice")},
2020-05-20 17:41:25 +02:00
),
migrations.AlterUniqueTogether(
2020-08-28 18:00:54 +02:00
name="registration",
unique_together={("event", "user")},
2020-05-20 17:41:25 +02:00
),
]