diff options
| author | Georgios Andreadis <info@gandreadis.com> | 2020-06-23 19:06:38 +0200 |
|---|---|---|
| committer | Georgios Andreadis <info@gandreadis.com> | 2020-06-23 19:06:38 +0200 |
| commit | 6fdb3e75dad15523d996e457c216647755b29101 (patch) | |
| tree | 02590e4b4219613b6dbe70e10130bee19310290d /opendc/models/authorization.py | |
| parent | c14ff547d4f6b6569bab3293ee574b03a8770ae3 (diff) | |
Revamp one endpoint as experiment
Diffstat (limited to 'opendc/models/authorization.py')
| -rw-r--r-- | opendc/models/authorization.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/authorization.py b/opendc/models/authorization.py index 82d37b76..4c714e6d 100644 --- a/opendc/models/authorization.py +++ b/opendc/models/authorization.py @@ -11,7 +11,7 @@ class Authorization(Model): } } - TABLE_NAME = 'authorizations' + COLLECTION_NAME = 'authorizations' COLUMNS = ['user_id', 'simulation_id', 'authorization_level'] COLUMNS_PRIMARY_KEY = ['user_id', 'simulation_id'] |
