bracket-feature
laurent 1 year ago
commit 3a64704309
  1. 18
      tournaments/migrations/0089_alter_playerregistration_licence_id.py
  2. 2
      tournaments/models/player_registration.py

@ -0,0 +1,18 @@
# Generated by Django 4.2.11 on 2024-10-12 14:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tournaments', '0088_groupstage_step'),
]
operations = [
migrations.AlterField(
model_name='playerregistration',
name='licence_id',
field=models.CharField(blank=True, max_length=50, null=True),
),
]

@ -7,7 +7,7 @@ class PlayerRegistration(models.Model):
team_registration = models.ForeignKey(TeamRegistration, on_delete=models.CASCADE) team_registration = models.ForeignKey(TeamRegistration, on_delete=models.CASCADE)
first_name = models.CharField(max_length=50, blank=True) first_name = models.CharField(max_length=50, blank=True)
last_name = models.CharField(max_length=50, blank=True) last_name = models.CharField(max_length=50, blank=True)
licence_id = models.CharField(max_length=20, null=True, blank=True) licence_id = models.CharField(max_length=50, null=True, blank=True)
rank = models.IntegerField(null=True, blank=True) rank = models.IntegerField(null=True, blank=True)
#has_paid = models.BooleanField(default=False) #has_paid = models.BooleanField(default=False)
#unranked = models.BooleanField(default=False) #unranked = models.BooleanField(default=False)

Loading…
Cancel
Save