Increase desription length for corpora.

This commit is contained in:
Patrick Jentsch 2019-08-12 08:57:21 +02:00
parent ad8a8a4696
commit 759a29362c

View File

@ -254,7 +254,7 @@ class Corpus(db.Model):
# Primary key # Primary key
id = db.Column(db.Integer, primary_key=True) id = db.Column(db.Integer, primary_key=True)
creation_date = db.Column(db.DateTime(), default=datetime.utcnow) creation_date = db.Column(db.DateTime(), default=datetime.utcnow)
description = db.Column(db.String(64)) description = db.Column(db.String(255))
title = db.Column(db.String(32)) title = db.Column(db.String(32))
user_id = db.Column(db.Integer, db.ForeignKey('users.id')) user_id = db.Column(db.Integer, db.ForeignKey('users.id'))