Add explicit primary keys

This commit is contained in:
Aarni Halinen
2022-08-01 22:21:18 +03:00
parent 96e05d908d
commit a603e2dff8
11 changed files with 170 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@ class OhlhafvChallenge(models.Model):
("Team", _("Team Challenge (1 x 0.33 L, 2 x 0.5 L, 1 x 1.0 L)")),
)
id = models.AutoField(primary_key=True)
challenger = models.CharField(_("Challenger"), max_length=255)
victim = models.CharField(_("Victim"), max_length=255)
victim_email = models.EmailField(_("Victim email"))