# Generated by Django 4.2.11 on 2024-03-09 11:43

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


class Migration(migrations.Migration):

    dependencies = [
        ('tournaments', '0014_alter_teamstate_team_registration'),
    ]

    operations = [
        migrations.CreateModel(
            name='TeamScore',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('score', models.CharField(blank=True, max_length=50, null=True)),
                ('walk_out', models.IntegerField(blank=True, null=True)),
                ('lucky_loser', models.BooleanField()),
                ('match', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='team_scores', to='tournaments.match')),
                ('player_registrations', models.ManyToManyField(blank=True, to='tournaments.playerregistration')),
                ('team_registration', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='tournaments.teamregistration')),
            ],
        ),
        migrations.DeleteModel(
            name='TeamState',
        ),
    ]
