Changing log to TextField

This commit is contained in:
Denis-Cosmin Nutiu 2017-04-27 16:17:51 +03:00
parent 5265ff8e14
commit 484ae76a9d

View file

@ -29,7 +29,7 @@ class Result(db.Model):
name = db.Column(db.String(50))
gpu = db.Column(db.String(256))
cpu = db.Column(db.String(256))
log = db.Column(db.String(10000))
log = db.Column(db.Text(10000))
score = db.Column(db.Integer)
def __init__(self, name="Anonymous", gpu=None, cpu=None, log=None, score=1):