From 484ae76a9df1b61d9f361512a1042fbdffc4d0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nut=CC=A6iu?= Date: Thu, 27 Apr 2017 16:17:51 +0300 Subject: [PATCH] Changing log to TextField --- src/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/__init__.py b/src/models/__init__.py index c661b7d..c1d5bf1 100644 --- a/src/models/__init__.py +++ b/src/models/__init__.py @@ -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):