(improvement)(chat) Support compatibility for handling historical primary and foreign data. (#1517)

This commit is contained in:
lexluo09
2024-08-06 14:45:49 +08:00
committed by GitHub
parent 89b028b594
commit 3621766a0d
3 changed files with 31 additions and 6 deletions

View File

@@ -362,4 +362,7 @@ alter table s2_agent add `enable_memory_review` tinyint DEFAULT 0;
alter table s2_chat_memory add `side_info` TEXT DEFAULT NULL COMMENT '辅助信息';
--20240730
alter table s2_chat_parse modify column `chat_id` int(11);
alter table s2_chat_parse modify column `chat_id` int(11);
--20240806
UPDATE `s2_dimension` SET `type` = 'identify' WHERE `type` in ('primary','foreign');