Skip to content

Commit c9bdb9c

Browse files
committed
fix: add scope column to tool and folder queries in list_tool.sql
1 parent 4e87048 commit c9bdb9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/tools/sql/list_tool.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ from (select tool."id"::text,
33
tool."name",
44
tool."desc",
55
tool."tool_type",
6+
tool."scope",
67
'tool' as "resource_type",
78
tool."workspace_id",
89
tool."folder_id",
@@ -19,6 +20,7 @@ from (select tool."id"::text,
1920
tool_folder."name",
2021
tool_folder."desc",
2122
'folder' as "tool_type",
23+
'' as scope,
2224
'folder' as "resource_type",
2325
tool_folder."workspace_id",
2426
tool_folder."parent_id" as "folder_id",

0 commit comments

Comments
 (0)