kpsul/events/migrations/0004_unique_constraints.py

31 lines
944 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(
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")},
),
]