diff --git a/tournaments/migrations/0060_match_confirmed.py b/tournaments/migrations/0060_match_confirmed.py new file mode 100644 index 0000000..2309bfa --- /dev/null +++ b/tournaments/migrations/0060_match_confirmed.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.11 on 2024-05-29 09:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tournaments', '0059_remove_match_confirmed_start_date'), + ] + + operations = [ + migrations.AddField( + model_name='match', + name='confirmed', + field=models.BooleanField(default=False), + ), + ] diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 8b5e928..b8893b9 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -21,6 +21,7 @@ class Match(models.Model): #broadcasted = models.BooleanField(default=False) disabled = models.BooleanField(default=False) court_index = models.IntegerField(null=True, blank=True) + confirmed = models.BooleanField(default=False) def __str__(self): names = " / ".join(self.player_names())