mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
rename createon.data to creaton.date
This commit is contained in:
parent
65becc1187
commit
b255f3bb4a
@ -259,7 +259,7 @@ class Corpus(db.Model):
|
|||||||
__tablename__ = 'corpora'
|
__tablename__ = 'corpora'
|
||||||
# Primary key
|
# Primary key
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
id = db.Column(db.Integer, primary_key=True)
|
||||||
creation_data = 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(64))
|
||||||
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'))
|
||||||
|
Loading…
Reference in New Issue
Block a user