mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-09-14 14:23:46 +08:00
fix(core): remove unique constraint from conversation index
This commit is contained in:
parent
d16a617ba8
commit
6fee39f342
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user