fix: add scope column to tool and folder queries in list_tool.sql
parent
4e87048053
commit
c9bdb9ca8a
|
|
@ -3,6 +3,7 @@ from (select tool."id"::text,
|
||||||
tool."name",
|
tool."name",
|
||||||
tool."desc",
|
tool."desc",
|
||||||
tool."tool_type",
|
tool."tool_type",
|
||||||
|
tool."scope",
|
||||||
'tool' as "resource_type",
|
'tool' as "resource_type",
|
||||||
tool."workspace_id",
|
tool."workspace_id",
|
||||||
tool."folder_id",
|
tool."folder_id",
|
||||||
|
|
@ -19,6 +20,7 @@ from (select tool."id"::text,
|
||||||
tool_folder."name",
|
tool_folder."name",
|
||||||
tool_folder."desc",
|
tool_folder."desc",
|
||||||
'folder' as "tool_type",
|
'folder' as "tool_type",
|
||||||
|
'' as scope,
|
||||||
'folder' as "resource_type",
|
'folder' as "resource_type",
|
||||||
tool_folder."workspace_id",
|
tool_folder."workspace_id",
|
||||||
tool_folder."parent_id" as "folder_id",
|
tool_folder."parent_id" as "folder_id",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue