diff --git a/app/models.py b/app/models.py index 733dbd8..d2ad101 100644 --- a/app/models.py +++ b/app/models.py @@ -1137,7 +1137,7 @@ class Server(object): class History(db.Model): id = db.Column(db.Integer, primary_key = True) msg = db.Column(db.String(256)) - detail = db.Column(db.Text()) + detail = db.Column(db.Text().with_variant(db.Text(length=2**24-2), 'mysql')) created_by = db.Column(db.String(128)) created_on = db.Column(db.DateTime, default=datetime.utcnow)