重构并拆分项目
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- 聊天记录去重索引(普通索引,不用 UNIQUE 避免存量重复数据冲突)
|
||||
CREATE INDEX IF NOT EXISTS idx_chat_records_message_id
|
||||
ON chat_records (message_id) WHERE message_id != '';
|
||||
Reference in New Issue
Block a user