Skip to content

Commit

Permalink
[fix] player discord_id field type changed to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
darloof committed Feb 25, 2024
1 parent 0fe7cf5 commit e00fe89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psycity/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Player(BaseModel):
on_delete=models.DO_NOTHING,
related_name='player_bodyguard_team')
last_bodyguard_cost = models.IntegerField(default=0)
discord_id = models.CharField(max_length=100, null=False, blank=False, unique=True, primary_key=True)
discord_id = models.IntegerField(null=False, blank=False, unique=True, primary_key=True)

def __str__(self):
return f"{self.first_name} {self.last_name}"
Expand Down

0 comments on commit e00fe89

Please sign in to comment.