diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 13:35:17 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 13:35:17 +0000 |
| commit | 5e711f079121e0b9e958261df4aafcf568cb62cf (patch) | |
| tree | 99a1336b2406411d81a2a05199362f6f1e362e0a /app/models.py | |
| parent | first working version of pan + zoom + click (diff) | |
| download | AnnotateChange-5e711f079121e0b9e958261df4aafcf568cb62cf.tar.gz AnnotateChange-5e711f079121e0b9e958261df4aafcf568cb62cf.zip | |
First working version of complete annotation functionality
Diffstat (limited to 'app/models.py')
| -rw-r--r-- | app/models.py | 3 |
1 files changed, 1 insertions, 2 deletions
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")) |
