# Generated by Django 5.1.5 on 2025-03-19 22:51

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        (
            "participation",
            "0023_tournament_unified_registration",
        ),
        ("registration", "0014_participantregistration_country"),
        ("survey", "0001_initial"),
    ]

    operations = [
        migrations.AlterField(
            model_name="survey",
            name="completed_registrations",
            field=models.ManyToManyField(
                blank=True,
                related_name="completed_surveys",
                to="registration.participantregistration",
                verbose_name="participants that completed the survey",
            ),
        ),
        migrations.AlterField(
            model_name="survey",
            name="completed_teams",
            field=models.ManyToManyField(
                blank=True,
                related_name="completed_surveys",
                to="participation.team",
                verbose_name="teams that completed the survey",
            ),
        ),
        migrations.AlterField(
            model_name="survey",
            name="tournament",
            field=models.ForeignKey(
                blank=True,
                default=None,
                help_text="When this field is filled, the survey participants will be restricted to this tournament members.",
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="surveys",
                to="participation.tournament",
                verbose_name="tournament restriction",
            ),
        ),
    ]
