From 22e96d38eed906f00c107aadb1a586b16f590b7d Mon Sep 17 00:00:00 2001 From: lza_menace Date: Wed, 30 Dec 2020 14:46:36 -0800 Subject: [PATCH] allow longer event type strings in db --- wowstash/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wowstash/models.py b/wowstash/models.py index 5da408e..4582b64 100644 --- a/wowstash/models.py +++ b/wowstash/models.py @@ -59,7 +59,7 @@ class Event(db.Model): __tablename__ = 'events' id = db.Column(db.Integer, primary_key=True) - type = db.Column(db.String(30)) + type = db.Column(db.String(60)) user = db.Column(db.Integer, db.ForeignKey(User.id)) date = db.Column(db.DateTime, server_default=func.now())