From b255f3bb4aa61020234d76b9fc217835bbc532a2 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 6 Aug 2019 15:41:07 +0200
Subject: [PATCH] rename createon.data to creaton.date
---
app/models.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/models.py b/app/models.py
index d17eb0fd..c7b97b94 100644
--- a/app/models.py
+++ b/app/models.py
@@ -259,7 +259,7 @@ class Corpus(db.Model):
__tablename__ = 'corpora'
# Primary key
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))
title = db.Column(db.String(32))
user_id = db.Column(db.Integer, db.ForeignKey('users.id'))