# Generated by Django 4.2.11 on 2024-12-16 08:57

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


class Migration(migrations.Migration):

    dependencies = [
        ('tournaments', '0100_playerregistration_coach_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='UnregisteredTeam',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
                ('unregistration_date', models.DateTimeField(blank=True, null=True)),
                ('comment', models.CharField(blank=True, max_length=200, null=True)),
                ('source', models.CharField(blank=True, max_length=20, null=True)),
                ('source_value', models.CharField(blank=True, max_length=200, null=True)),
                ('reason', models.IntegerField(blank=True, null=True)),
                ('tournament', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tournaments.tournament')),
            ],
        ),
        migrations.CreateModel(
            name='UnregisteredPlayer',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)),
                ('first_name', models.CharField(blank=True, max_length=50)),
                ('last_name', models.CharField(blank=True, max_length=50)),
                ('licence_id', models.CharField(blank=True, max_length=50, null=True)),
                ('reason', models.IntegerField(blank=True, null=True)),
                ('unregistered_team', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='tournaments.unregisteredteam')),
            ],
        ),
    ]
