fix(core): remove unique constraint from conversation index

This commit is contained in:
dsx137 2026-05-07 11:12:33 +08:00
parent d16a617ba8
commit 6fee39f342

View File

@ -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 {