From c9034584b67f8236a9399807f4ecc0540b69fe46 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Thu, 23 May 2024 13:28:37 +0200 Subject: [PATCH] update tournament db --- ...urnament_should_verify_bracket_and_more.py | 23 +++++++++++++++++++ tournaments/models/tournament.py | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 tournaments/migrations/0056_tournament_should_verify_bracket_and_more.py diff --git a/tournaments/migrations/0056_tournament_should_verify_bracket_and_more.py b/tournaments/migrations/0056_tournament_should_verify_bracket_and_more.py new file mode 100644 index 0000000..1ded51e --- /dev/null +++ b/tournaments/migrations/0056_tournament_should_verify_bracket_and_more.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.11 on 2024-05-23 11:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('tournaments', '0055_rename_globalid_tournament_global_id_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='tournament', + name='should_verify_bracket', + field=models.BooleanField(default=False), + ), + migrations.AddField( + model_name='tournament', + name='should_verify_group_stage', + field=models.BooleanField(default=False), + ), + ] diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 83e3625..d2517f8 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -51,6 +51,8 @@ class Tournament(models.Model): publish_summons = models.BooleanField(default=False) publish_group_stages = models.BooleanField(default=False) publish_brackets = models.BooleanField(default=False) + should_verify_bracket = models.BooleanField(default=False) + should_verify_group_stage = models.BooleanField(default=False) def __str__(self): if self.name: