We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241b880 commit 166a176Copy full SHA for 166a176
packages/service/core/chat/chatSchema.ts
@@ -107,7 +107,7 @@ const ChatSchema = new Schema({
107
try {
108
ChatSchema.index({ chatId: 1 });
109
// Delete by appid; init chat; update chat; auth chat;
110
- ChatSchema.index({ appId: 1, chatId: 1 }, { unique: true });
+ ChatSchema.index({ appId: 1, chatId: 1 });
111
112
// Clear history(share),Init 4121
113
ChatSchema.index(
0 commit comments