From 5e711f079121e0b9e958261df4aafcf568cb62cf Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 26 Mar 2019 13:35:17 +0000 Subject: First working version of complete annotation functionality --- app/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/models.py') diff --git a/app/models.py b/app/models.py index 06dfbc2..03ba884 100644 --- a/app/models.py +++ b/app/models.py @@ -81,8 +81,7 @@ class Task(db.Model): class Annotation(db.Model): id = db.Column(db.Integer, primary_key=True) - time_start = db.Column(db.Integer) - time_end = db.Column(db.Integer) + cp_index = db.Column(db.Integer) task = db.relation("Task") task_id = db.Column(db.Integer, db.ForeignKey("task.id")) -- cgit v1.2.3