From 6fee39f3427c3dfad7f1a6d8a6abf2d79459553e Mon Sep 17 00:00:00 2001 From: dsx137 <70027572+dsx137@users.noreply.github.com> Date: Thu, 7 May 2026 11:12:33 +0800 Subject: [PATCH] fix(core): remove unique constraint from conversation index --- pkg/common/storage/database/mgo/conversation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/storage/database/mgo/conversation.go b/pkg/common/storage/database/mgo/conversation.go index c1d00f0ed..30f08f5e5 100644 --- a/pkg/common/storage/database/mgo/conversation.go +++ b/pkg/common/storage/database/mgo/conversation.go @@ -51,7 +51,7 @@ func NewConversationMongo(db *mongo.Database) (*ConversationMgo, error) { Keys: bson.D{ {Key: "conversation_id", Value: 1}, }, - Options: options.Index().SetUnique(true), + Options: options.Index(), }, }) if err != nil {