gestioCOF/events/migrations/0004_unique_constraints.py

34 lines
1,003 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")},
),
]