mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-05 00:33:47 +08:00
feat: added delete file function
This commit is contained in:
@@ -10,4 +10,6 @@ UPDATE chatgpt_chat_items s SET model=(SELECT value FROM chatgpt_chat_models WHE
|
||||
UPDATE chatgpt_chat_history s SET model=(SELECT model FROM chatgpt_chat_items WHERE chat_id = s.chat_id);
|
||||
|
||||
-- 清理对话已删除的聊天记录(可选)
|
||||
-- DELETE FROM `chatgpt_chat_history` WHERE model is NULL;
|
||||
-- DELETE FROM `chatgpt_chat_history` WHERE model is NULL;
|
||||
|
||||
ALTER TABLE `chatgpt_files` ADD `obj_key` VARCHAR(100) NULL COMMENT '文件标识' AFTER `name`;
|
||||
Reference in New Issue
Block a user