mirror of
https://github.com/langgenius/dify.git
synced 2025-11-07 23:13:24 +00:00
fix(housekeeping): exclude files that are used as app icons or avatar images from being removed (#20532)
This commit is contained in:
parent
e01d975b80
commit
c26e1929d6
@ -846,6 +846,9 @@ def clear_orphaned_file_records(force: bool):
|
|||||||
{"type": "text", "table": "workflow_node_executions", "column": "outputs"},
|
{"type": "text", "table": "workflow_node_executions", "column": "outputs"},
|
||||||
{"type": "text", "table": "conversations", "column": "introduction"},
|
{"type": "text", "table": "conversations", "column": "introduction"},
|
||||||
{"type": "text", "table": "conversations", "column": "system_instruction"},
|
{"type": "text", "table": "conversations", "column": "system_instruction"},
|
||||||
|
{"type": "text", "table": "accounts", "column": "avatar"},
|
||||||
|
{"type": "text", "table": "apps", "column": "icon"},
|
||||||
|
{"type": "text", "table": "sites", "column": "icon"},
|
||||||
{"type": "json", "table": "messages", "column": "inputs"},
|
{"type": "json", "table": "messages", "column": "inputs"},
|
||||||
{"type": "json", "table": "messages", "column": "message"},
|
{"type": "json", "table": "messages", "column": "message"},
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user