From ffcc13ef5b1d1ca8186906cc475ead783f7dadac Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 4 Nov 2019 15:35:09 +0100 Subject: [PATCH] Add status to corpus model again... --- app/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models.py b/app/models.py index ac5578d1..5c08da59 100644 --- a/app/models.py +++ b/app/models.py @@ -437,6 +437,7 @@ class Corpus(db.Model): id = db.Column(db.Integer, primary_key=True) creation_date = db.Column(db.DateTime(), default=datetime.utcnow) description = db.Column(db.String(255)) + status = db.Column(db.String(16)) title = db.Column(db.String(32)) user_id = db.Column(db.Integer, db.ForeignKey('users.id')) # Relationships