|
@@ -1,3 +1,6 @@
|
|
|
+# Copyright (c) 2021 Ultimaker B.V.
|
|
|
+# Cura is released under the terms of the LGPLv3 or higher.
|
|
|
+
|
|
|
from UM.Settings.SQLQueryFactory import SQLQueryFactory
|
|
|
from UM.Settings.DatabaseContainerMetadataController import DatabaseMetadataContainerController
|
|
|
from UM.Settings.InstanceContainer import InstanceContainer
|
|
@@ -7,7 +10,7 @@ class IntentDatabaseHandler(DatabaseMetadataContainerController):
|
|
|
"""The Database handler for Intent containers"""
|
|
|
|
|
|
def __init__(self) -> None:
|
|
|
- super().__init__(SQLQueryFactory(table = "intents",
|
|
|
+ super().__init__(SQLQueryFactory(table = "intent",
|
|
|
fields = {
|
|
|
"id": "text",
|
|
|
"name": "text",
|