Add status to corpus model again...

This commit is contained in:
Patrick Jentsch 2019-11-04 15:35:09 +01:00
parent 37d5802b42
commit ffcc13ef5b

View File

@ -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