diff --git a/tournaments/migrations/0058_match_confirmed_start_date.py b/tournaments/migrations/0058_match_confirmed_start_date.py new file mode 100644 index 0000000..45267dc --- /dev/null +++ b/tournaments/migrations/0058_match_confirmed_start_date.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.11 on 2024-05-29 08:49 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tournaments', '0057_tournament_hide_teams_weight'), + ] + + operations = [ + migrations.AddField( + model_name='match', + name='confirmed_start_date', + field=models.DateTimeField(blank=True, null=True), + ), + ] diff --git a/tournaments/models/match.py b/tournaments/models/match.py index 8b5e928..8bda914 100644 --- a/tournaments/models/match.py +++ b/tournaments/models/match.py @@ -10,6 +10,7 @@ class Match(models.Model): group_stage = models.ForeignKey(GroupStage, null=True, blank=True, on_delete=models.CASCADE) name = models.CharField(max_length=200, null=True, blank=True) start_date = models.DateTimeField(null=True, blank=True) + confirmed_start_date = models.DateTimeField(null=True, blank=True) end_date = models.DateTimeField(null=True, blank=True) index = models.IntegerField(default=0) #order = models.IntegerField(default=0)