mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 19:45:58 +08:00
work_moments
This commit is contained in:
@@ -73,7 +73,7 @@ func init() {
|
||||
|
||||
cCommentMsgModels := []mongo.IndexModel{
|
||||
{
|
||||
Keys: bson.M{"create_time": -1, "user_id": -1},
|
||||
Keys: bson.A{bson.D{{"create_time", -1}, {"user_id", -1}}},
|
||||
},
|
||||
}
|
||||
result, err := dataBase.Collection(cCommentMsg).Indexes().CreateMany(context.Background(), cCommentMsgModels, opts)
|
||||
|
||||
Reference in New Issue
Block a user