From 40569012557b4790fb72c6c84fdbbd99f89a56e4 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Thu, 16 May 2024 09:43:47 +0200 Subject: [PATCH] remove unused field tournament --- ...remove_tournament_group_stage_court_count.py | 17 +++++++++++++++++ tournaments/models/tournament.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tournaments/migrations/0048_remove_tournament_group_stage_court_count.py diff --git a/tournaments/migrations/0048_remove_tournament_group_stage_court_count.py b/tournaments/migrations/0048_remove_tournament_group_stage_court_count.py new file mode 100644 index 0000000..d402645 --- /dev/null +++ b/tournaments/migrations/0048_remove_tournament_group_stage_court_count.py @@ -0,0 +1,17 @@ +# Generated by Django 4.2.11 on 2024-05-16 07:43 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('tournaments', '0047_rename_publish_groupstages_tournament_publish_group_stages'), + ] + + operations = [ + migrations.RemoveField( + model_name='tournament', + name='group_stage_court_count', + ), + ] diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 4e53b29..d90484f 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -24,7 +24,7 @@ class Tournament(models.Model): federal_category = models.IntegerField(default=FederalCategory.MEN, choices=FederalCategory.choices) # optional ? federal_level_category = models.IntegerField(default=FederalLevelCategory.P100, choices=FederalLevelCategory.choices) federal_age_category = models.IntegerField(default=FederalAgeCategory.SENIOR, choices=FederalAgeCategory.choices) - group_stage_court_count = models.IntegerField(null=True, blank=True) + #group_stage_court_count = models.IntegerField(null=True, blank=True) #seed_count = models.IntegerField(default=0) closed_registration_date = models.DateTimeField(null=True, blank=True) group_stage_additional_qualified = models.IntegerField(default=0)