mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
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".create_time,
|
||||
"temp_knowledge".update_time,
|
||||
"temp_knowledge".file_size_limit,
|
||||
"temp_knowledge".file_count_limit,
|
||||
"document_temp"."char_length",
|
||||
CASE
|
||||
WHEN
|
||||
|
|
@ -31,13 +33,15 @@ FROM (SELECT "temp_knowledge".id::text, "temp_knowledge".name,
|
|||
SELECT "id",
|
||||
"name",
|
||||
"desc",
|
||||
0 as "type",
|
||||
'folder' as "resource_type",
|
||||
0 as "type",
|
||||
'folder' as "resource_type",
|
||||
"workspace_id",
|
||||
"parent_id" as "folder_id",
|
||||
"parent_id" as "folder_id",
|
||||
"user_id",
|
||||
"create_time",
|
||||
"update_time",
|
||||
0 as file_size_limit,
|
||||
0 as file_count_limit,
|
||||
0 as char_length,
|
||||
0 as application_mapping_count,
|
||||
0 as document_count
|
||||
|
|
|
|||
Loading…
Reference in New Issue