fix: add template_id to tool and tool_folder queries in list_tool.sql

This commit is contained in:
CaptainB 2025-06-19 19:21:14 +08:00
parent c9bdb9ca8a
commit 35b30c2009

View File

@ -10,6 +10,7 @@ from (select tool."id"::text,
tool."user_id",
"user".nick_name as "nick_name",
tool."icon",
tool."template_id"::text,
tool."create_time",
tool."update_time",
tool."is_active"
@ -27,6 +28,7 @@ from (select tool."id"::text,
tool_folder."user_id",
"user".nick_name as "nick_name",
'' as "icon",
'' as "template_id",
tool_folder."create_time",
tool_folder."update_time",
'true' as "is_active"