Skip to content

Commit 166a176

Browse files
committed
index
1 parent 241b880 commit 166a176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service/core/chat/chatSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const ChatSchema = new Schema({
107107
try {
108108
ChatSchema.index({ chatId: 1 });
109109
// Delete by appid; init chat; update chat; auth chat;
110-
ChatSchema.index({ appId: 1, chatId: 1 }, { unique: true });
110+
ChatSchema.index({ appId: 1, chatId: 1 });
111111

112112
// Clear history(share),Init 4121
113113
ChatSchema.index(

0 commit comments

Comments
 (0)