mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 09:43:10 +00:00
fix: add scope column to tool and folder queries in list_tool.sql
This commit is contained in:
parent
4e87048053
commit
c9bdb9ca8a
|
|
@ -3,6 +3,7 @@ from (select tool."id"::text,
|
|||
tool."name",
|
||||
tool."desc",
|
||||
tool."tool_type",
|
||||
tool."scope",
|
||||
'tool' as "resource_type",
|
||||
tool."workspace_id",
|
||||
tool."folder_id",
|
||||
|
|
@ -19,6 +20,7 @@ from (select tool."id"::text,
|
|||
tool_folder."name",
|
||||
tool_folder."desc",
|
||||
'folder' as "tool_type",
|
||||
'' as scope,
|
||||
'folder' as "resource_type",
|
||||
tool_folder."workspace_id",
|
||||
tool_folder."parent_id" as "folder_id",
|
||||
|
|
|
|||
Loading…
Reference in New Issue