kpsul/events/migrations/0004_unique_constraints.py
Ludovic Stephan 0875ef1278 Black v20
2020-08-28 18:00:54 +02:00

35 lines
1,004 B
Python

# 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(
name="extrafield",
unique_together={("event", "name")},
),
migrations.AlterUniqueTogether(
name="extrafieldcontent",
unique_together={("field", "registration")},
),
migrations.AlterUniqueTogether(
name="option",
unique_together={("event", "name")},
),
migrations.AlterUniqueTogether(
name="optionchoice",
unique_together={("option", "choice")},
),
migrations.AlterUniqueTogether(
name="registration",
unique_together={("event", "user")},
),
]