Skip to content

Commit

Permalink
Last fix, let's hope.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensge committed Jan 8, 2025
1 parent afce2c3 commit 0309a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spybot/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def last_login_time(self):


class TSID(DebuggableModel):
tsuser = models.ForeignKey(TSUser, models.DO_NOTHING, db_column='tsUserID', blank=True, null=True)
tsuser = models.ForeignKey(TSUser, models.DO_NOTHING, db_column='tsuserid', blank=True, null=True)
ts_id = models.CharField(db_column='tsID', max_length=32, primary_key=True)

class Meta:
Expand All @@ -141,7 +141,7 @@ class Meta:

class TSUserActivity(DebuggableModel):
id = models.IntegerField(primary_key=True, null=False)
tsuser = models.ForeignKey(TSUser, models.DO_NOTHING, db_column='tsUserID', blank=True, null=True) # Field name made lowercase.
tsuser = models.ForeignKey(TSUser, models.DO_NOTHING, db_column='tsuserid', blank=True, null=True) # Field name made lowercase.
start_time = models.DateTimeField(db_column='startTime', blank=True, null=True) # Field name made lowercase.
end_time = models.DateTimeField(db_column='endTime', blank=True, null=True) # Field name made lowercase.
joined = models.BooleanField(null=False, default=False)
Expand Down

0 comments on commit 0309a38

Please sign in to comment.