2022-06-30 12:44:19 +02:00
|
|
|
# Generated by Django 3.2.13 on 2022-06-30 10:41
|
2022-06-30 10:38:25 +02:00
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2022-06-30 12:44:19 +02:00
|
|
|
("gestioncof", "0018_petitscours_email"),
|
2022-06-30 10:38:25 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterUniqueTogether(
|
|
|
|
name="eventregistration",
|
|
|
|
unique_together=set(),
|
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
|
|
|
name="petitcoursability",
|
|
|
|
unique_together=set(),
|
|
|
|
),
|
|
|
|
migrations.AlterUniqueTogether(
|
|
|
|
name="surveyanswer",
|
|
|
|
unique_together=set(),
|
|
|
|
),
|
|
|
|
migrations.AddConstraint(
|
|
|
|
model_name="eventregistration",
|
|
|
|
constraint=models.UniqueConstraint(
|
|
|
|
fields=("user", "event"), name="unique_event_registration"
|
|
|
|
),
|
|
|
|
),
|
|
|
|
migrations.AddConstraint(
|
|
|
|
model_name="petitcoursability",
|
|
|
|
constraint=models.UniqueConstraint(
|
|
|
|
fields=("user", "niveau", "matiere"), name="unique_competence_level"
|
|
|
|
),
|
|
|
|
),
|
|
|
|
migrations.AddConstraint(
|
|
|
|
model_name="surveyanswer",
|
|
|
|
constraint=models.UniqueConstraint(
|
|
|
|
fields=("user", "survey"), name="unique_survey_answer"
|
|
|
|
),
|
|
|
|
),
|
|
|
|
]
|