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/section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/section.py') diff --git a/opendc/models/section.py b/opendc/models/section.py index 4e953eae..53b5e6c9 100644 --- a/opendc/models/section.py +++ b/opendc/models/section.py @@ -13,7 +13,7 @@ class Section(Model): } } - TABLE_NAME = 'sections' + COLLECTION_NAME = 'sections' COLUMNS = ['id', 'path_id', 'datacenter_id', 'start_tick'] COLUMNS_PRIMARY_KEY = ['id'] -- cgit v1.2.3