Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions agagd/agagd_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,6 @@ class Meta:


class Rating(models.Model):

# Sets a primary key.
id = models.BigAutoField(primary_key=True)

# ForeignKey for the Members
pin_player = models.ForeignKey(
Member,
Expand All @@ -278,7 +274,7 @@ class Rating(models.Model):
related_name="ratings_set",
on_delete=models.DO_NOTHING,
)

id = models.IntegerField(db_column="id", primary_key=True)
rating = models.FloatField(db_column="Rating") # x. This field type is a guess.
sigma = models.FloatField(db_column="Sigma") # x. This field type is a guess.
elab_date = models.DateField(db_column="Elab_Date")
Expand Down