Modify conversation_id index options

Removed the unique constraint from the conversation_id index.
pull/3722/head
buvidk1234 6 days ago committed by GitHub
parent d16a617ba8
commit c66b2d95ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save