# Generated by Django 4.2 on 2023-07-28 11:28

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


class Migration(migrations.Migration):

    dependencies = [
        ('scores', '0010_alter_tournament_club'),
    ]

    operations = [
        migrations.AddField(
            model_name='match',
            name='match_index',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='tournament',
            name='auto_scrolling',
            field=models.BooleanField(default=False),
        ),
        migrations.CreateModel(
            name='Team',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('playerOne', models.CharField(blank=True, max_length=200)),
                ('playerTwo', models.CharField(blank=True, max_length=200)),
                ('rank', models.IntegerField(default=0)),
                ('position', models.IntegerField(default=0)),
                ('bracket', models.BooleanField(default=False)),
                ('positionLabel', models.CharField(blank=True, max_length=200)),
                ('match', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='scores.match')),
            ],
        ),
    ]
