feat: add is_active field to tool and tool_folder queries
This commit is contained in:
parent
707094359b
commit
f4e15d76a0
@ -9,7 +9,8 @@ from (select "id"::text,
|
|||||||
"user_id",
|
"user_id",
|
||||||
"icon",
|
"icon",
|
||||||
"create_time",
|
"create_time",
|
||||||
"update_time"
|
"update_time",
|
||||||
|
"is_active"
|
||||||
from tool ${tool_scope_query_set}
|
from tool ${tool_scope_query_set}
|
||||||
UNION
|
UNION
|
||||||
select "id",
|
select "id",
|
||||||
@ -22,6 +23,7 @@ from (select "id"::text,
|
|||||||
"user_id",
|
"user_id",
|
||||||
'' as "icon",
|
'' as "icon",
|
||||||
"create_time",
|
"create_time",
|
||||||
"update_time"
|
"update_time",
|
||||||
|
'true' as "is_active"
|
||||||
from tool_folder ${folder_query_set}) temp
|
from tool_folder ${folder_query_set}) temp
|
||||||
${tool_query_set}
|
${tool_query_set}
|
||||||
Loading…
Reference in New Issue
Block a user