Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
Updated model views to comply with updates
  • Loading branch information
vash3g committed Sep 1, 2020
1 parent 2052797 commit f7f5867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agagd/agagd_core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Meta:
verbose_name_plural = u'top_kyu_view'

class MostRatedGamesPastYear(models.Model):
pin = models.IntegerField(primary_key=True, db_column=u'pin')
member_id = models.IntegerField(primary_key=True, db_column=u'pin')
name = models.CharField(max_length=65, db_column=u'Name')
total = models.BigIntegerField(db_column=u'Game_Count')

Expand All @@ -148,7 +148,7 @@ class Meta:
verbose_name_plural = u'most_rated_games_view'

class MostTournamentsPastYear(models.Model):
pin = models.IntegerField(primary_key=True, db_column=u'pin')
member_id = models.IntegerField(primary_key=True, db_column=u'pin')
name = models.CharField(max_length=65, db_column=u'Name')
total = models.BigIntegerField(db_column=u'Tournament_Count')

Expand Down

0 comments on commit f7f5867

Please sign in to comment.