Store date as Text, not Integer
This commit is contained in:
parent
34fe70600b
commit
db91af5d82
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Solves(db.Model):
|
|||
sid = db.Column(db.Integer, primary_key=True)
|
||||
pid = db.Column(db.String(32))
|
||||
tid = db.Column(db.Integer)
|
||||
date = db.Column(db.Integer, default=utils.get_time_since_epoch())
|
||||
date = db.Column(db.Text, default=utils.get_time_since_epoch())
|
||||
correct = db.Column(db.Boolean)
|
||||
flag = db.Column(db.Text)
|
||||
|
||||
|
|
Loading…
Reference in a new issue