diff --git a/tournaments/migrations/0055_rename_globalid_tournament_global_id_and_more.py b/tournaments/migrations/0055_rename_globalid_tournament_global_id_and_more.py new file mode 100644 index 0000000..95b4b1d --- /dev/null +++ b/tournaments/migrations/0055_rename_globalid_tournament_global_id_and_more.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.11 on 2024-05-22 14:02 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('tournaments', '0054_rename_payment_tournament_globalid_and_more'), + ] + + operations = [ + migrations.RenameField( + model_name='tournament', + old_name='globalId', + new_name='global_id', + ), + migrations.RenameField( + model_name='tournament', + old_name='localId', + new_name='local_id', + ), + ] diff --git a/tournaments/models/tournament.py b/tournaments/models/tournament.py index 993a963..9c99787 100644 --- a/tournaments/models/tournament.py +++ b/tournaments/models/tournament.py @@ -43,9 +43,9 @@ class Tournament(models.Model): qualified_per_group_stage = models.IntegerField(default=0) teams_per_group_stage = models.IntegerField(default=0) entry_fee = models.FloatField(default=20.0, null=True, blank=True) - globalId = models.CharField(max_length=100, null=True, blank=True) #represent the payment crypted string + global_id = models.CharField(max_length=100, null=True, blank=True) #represent the payment crypted string is_deleted = models.BooleanField(default=False) - localId = models.CharField(max_length=100, null=True, blank=True) #represent the is_canceled crypted string + local_id = models.CharField(max_length=100, null=True, blank=True) #represent the is_canceled crypted string additional_estimation_duration = models.IntegerField(default=0) publish_teams = models.BooleanField(default=False) publish_summons = models.BooleanField(default=False)