feat: add file_size_limit and file_count_limit to list_knowledge.sql
This commit is contained in:
parent
4d76f08b14
commit
fd441b6986
@ -8,6 +8,8 @@ FROM (SELECT "temp_knowledge".id::text, "temp_knowledge".name,
|
|||||||
"temp_knowledge".user_id,
|
"temp_knowledge".user_id,
|
||||||
"temp_knowledge".create_time,
|
"temp_knowledge".create_time,
|
||||||
"temp_knowledge".update_time,
|
"temp_knowledge".update_time,
|
||||||
|
"temp_knowledge".file_size_limit,
|
||||||
|
"temp_knowledge".file_count_limit,
|
||||||
"document_temp"."char_length",
|
"document_temp"."char_length",
|
||||||
CASE
|
CASE
|
||||||
WHEN
|
WHEN
|
||||||
@ -31,13 +33,15 @@ FROM (SELECT "temp_knowledge".id::text, "temp_knowledge".name,
|
|||||||
SELECT "id",
|
SELECT "id",
|
||||||
"name",
|
"name",
|
||||||
"desc",
|
"desc",
|
||||||
0 as "type",
|
0 as "type",
|
||||||
'folder' as "resource_type",
|
'folder' as "resource_type",
|
||||||
"workspace_id",
|
"workspace_id",
|
||||||
"parent_id" as "folder_id",
|
"parent_id" as "folder_id",
|
||||||
"user_id",
|
"user_id",
|
||||||
"create_time",
|
"create_time",
|
||||||
"update_time",
|
"update_time",
|
||||||
|
0 as file_size_limit,
|
||||||
|
0 as file_count_limit,
|
||||||
0 as char_length,
|
0 as char_length,
|
||||||
0 as application_mapping_count,
|
0 as application_mapping_count,
|
||||||
0 as document_count
|
0 as document_count
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user