64 lines
1.9 KiB
Python
64 lines
1.9 KiB
Python
# Generated by Django 3.2.13 on 2022-06-30 10:39
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("events", "0004_unique_constraints"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterUniqueTogether(
|
|
name="extrafield",
|
|
unique_together=set(),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="extrafieldcontent",
|
|
unique_together=set(),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="option",
|
|
unique_together=set(),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="optionchoice",
|
|
unique_together=set(),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name="registration",
|
|
unique_together=set(),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="extrafield",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("event", "name"), name="unique_extra_field"
|
|
),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="extrafieldcontent",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("field", "registration"), name="unique_extra_field_content"
|
|
),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="option",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("event", "name"), name="unique_event_option"
|
|
),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="optionchoice",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("option", "choice"), name="unique_option_choice"
|
|
),
|
|
),
|
|
migrations.AddConstraint(
|
|
model_name="registration",
|
|
constraint=models.UniqueConstraint(
|
|
fields=("event", "user"), name="unique_registration"
|
|
),
|
|
),
|
|
]
|