# Generated by Django 4.2.11 on 2024-04-03 12:45

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


class Migration(migrations.Migration):

    dependencies = [
        ('tournaments', '0022_alter_round_loser_alter_tournament_is_private'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='tournament',
            name='creator',
        ),
        migrations.AddField(
            model_name='club',
            name='creator',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='event',
            name='creator',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='customuser',
            name='clubs',
            field=models.ManyToManyField(blank=True, to='tournaments.club'),
        ),
    ]
