fix: update unique key
This commit is contained in:
@@ -19,14 +19,6 @@ class Scripts(Base):
|
||||
"visibility",
|
||||
"status",
|
||||
),
|
||||
Index("uk_scripts_current_object", "current_object_id", unique=True),
|
||||
Index(
|
||||
"uk_scripts_workspace_name",
|
||||
"workspace_id",
|
||||
"script_name",
|
||||
"script_type",
|
||||
unique=True,
|
||||
),
|
||||
{"comment": "可执行 Python/Notebook 脚本"},
|
||||
)
|
||||
|
||||
|
||||
@@ -131,7 +131,6 @@ class DataResources(Base):
|
||||
"visibility",
|
||||
"status",
|
||||
),
|
||||
Index("uk_data_resources_object", "storage_object_id", unique=True),
|
||||
{"comment": "数据资源"},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user