# Generated by Django 2.2.6 on 2019-11-25 18:21

from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('tournament', '0002_auto_20191102_2020'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='tournament',
            options={'ordering': ['-created', '-pk'], 'verbose_name': 'Tournament', 'verbose_name_plural': 'Tournaments'},
        ),
        migrations.RemoveField(
            model_name='match',
            name='users',
        ),
        migrations.AddField(
            model_name='match',
            name='user_home',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='home_matches', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='match',
            name='user_home_points',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)]),
        ),
        migrations.AddField(
            model_name='match',
            name='user_visitor',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='visitor_matches', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='match',
            name='user_visitor_points',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)]),
        ),
        migrations.AddField(
            model_name='tournament',
            name='code',
            field=models.CharField(blank=True, max_length=8),
        ),
        migrations.AddField(
            model_name='tournament',
            name='date',
            field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='tournament',
            name='location',
            field=models.CharField(default='asd', max_length=100),
            preserve_default=False,
        ),
    ]

6bb0574f5f431f12056408a0ad8d50d02ed1667b
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('tournament', '0002_auto_20191102_2020')]
    operations = [migrations.AlterModelOptions(name='tournament', options={
        'ordering': ['-created', '-pk'], 'verbose_name': 'Tournament',
        'verbose_name_plural': 'Tournaments'}), migrations.RemoveField(
        model_name='match', name='users'), migrations.AddField(model_name=
        'match', name='user_home', field=models.ForeignKey(blank=True, null
        =True, on_delete=django.db.models.deletion.CASCADE, related_name=
        'home_matches', to=settings.AUTH_USER_MODEL)), migrations.AddField(
        model_name='match', name='user_home_points', field=models.
        IntegerField(default=0, validators=[django.core.validators.
        MinValueValidator(0)])), migrations.AddField(model_name='match',
        name='user_visitor', field=models.ForeignKey(blank=True, null=True,
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'visitor_matches', to=settings.AUTH_USER_MODEL)), migrations.
        AddField(model_name='match', name='user_visitor_points', field=
        models.IntegerField(default=0, validators=[django.core.validators.
        MinValueValidator(0)])), migrations.AddField(model_name=
        'tournament', name='code', field=models.CharField(blank=True,
        max_length=8)), migrations.AddField(model_name='tournament', name=
        'date', field=models.DateField(auto_now_add=True, default=django.
        utils.timezone.now), preserve_default=False), migrations.AddField(
        model_name='tournament', name='location', field=models.CharField(
        default='asd', max_length=100), preserve_default=False)]

from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('tournament', '0002_auto_20191102_2020')]
    operations = [migrations.AlterModelOptions(name='tournament', options={
        'ordering': ['-created', '-pk'], 'verbose_name': 'Tournament',
        'verbose_name_plural': 'Tournaments'}), migrations.RemoveField(
        model_name='match', name='users'), migrations.AddField(model_name=
        'match', name='user_home', field=models.ForeignKey(blank=True, null
        =True, on_delete=django.db.models.deletion.CASCADE, related_name=
        'home_matches', to=settings.AUTH_USER_MODEL)), migrations.AddField(
        model_name='match', name='user_home_points', field=models.
        IntegerField(default=0, validators=[django.core.validators.
        MinValueValidator(0)])), migrations.AddField(model_name='match',
        name='user_visitor', field=models.ForeignKey(blank=True, null=True,
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'visitor_matches', to=settings.AUTH_USER_MODEL)), migrations.
        AddField(model_name='match', name='user_visitor_points', field=
        models.IntegerField(default=0, validators=[django.core.validators.
        MinValueValidator(0)])), migrations.AddField(model_name=
        'tournament', name='code', field=models.CharField(blank=True,
        max_length=8)), migrations.AddField(model_name='tournament', name=
        'date', field=models.DateField(auto_now_add=True, default=django.
        utils.timezone.now), preserve_default=False), migrations.AddField(
        model_name='tournament', name='location', field=models.CharField(
        default='asd', max_length=100), preserve_default=False)]

# Generated by Django 2.2.6 on 2019-11-25 18:21

from django.conf import settings
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('tournament', '0002_auto_20191102_2020'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='tournament',
            options={'ordering': ['-created', '-pk'], 'verbose_name': 'Tournament', 'verbose_name_plural': 'Tournaments'},
        ),
        migrations.RemoveField(
            model_name='match',
            name='users',
        ),
        migrations.AddField(
            model_name='match',
            name='user_home',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='home_matches', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='match',
            name='user_home_points',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)]),
        ),
        migrations.AddField(
            model_name='match',
            name='user_visitor',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='visitor_matches', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='match',
            name='user_visitor_points',
            field=models.IntegerField(default=0, validators=[django.core.validators.MinValueValidator(0)]),
        ),
        migrations.AddField(
            model_name='tournament',
            name='code',
            field=models.CharField(blank=True, max_length=8),
        ),
        migrations.AddField(
            model_name='tournament',
            name='date',
            field=models.DateField(auto_now_add=True, default=django.utils.timezone.now),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='tournament',
            name='location',
            field=models.CharField(default='asd', max_length=100),
            preserve_default=False,
        ),
    ]
