From 6fdb3e75dad15523d996e457c216647755b29101 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 23 Jun 2020 19:06:38 +0200 Subject: Revamp one endpoint as experiment --- opendc/models/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/task.py') diff --git a/opendc/models/task.py b/opendc/models/task.py index ff1dd16a..411405c2 100644 --- a/opendc/models/task.py +++ b/opendc/models/task.py @@ -12,7 +12,7 @@ class Task(Model): } } - TABLE_NAME = 'tasks' + COLLECTION_NAME = 'tasks' COLUMNS = ['id', 'start_tick', 'total_flop_count', 'job_id', 'core_count'] COLUMNS_PRIMARY_KEY = ['id'] -- cgit v1.2.3