Procházet zdrojové kódy

fix(housekeeping): exclude files that are used as app icons or avatar images from being removed (#20532)

tags/1.4.2
kurokobo před 5 měsíci
rodič
revize
c26e1929d6
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3
    0
      api/commands.py

+ 3
- 0
api/commands.py Zobrazit soubor

@@ -846,6 +846,9 @@ def clear_orphaned_file_records(force: bool):
{"type": "text", "table": "workflow_node_executions", "column": "outputs"},
{"type": "text", "table": "conversations", "column": "introduction"},
{"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": "message"},
]

Načítá se…
Zrušit
Uložit