提交 f9ae434b 编写于 作者: DCloud_JSON's avatar DCloud_JSON

新增 索引

上级 12e89108
[
{
"IndexName": "user_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "user_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "friend_uid_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "friend_uid",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "group_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "group_id",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "update_time_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "update_time",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "id_1_user_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "user_id",
"Direction": "-1"
},
{
"Name": "id",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "id",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "leave_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "leave",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "unread_count_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "unread_count",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "leave_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "leave",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
}
]
\ No newline at end of file
[
{
"IndexName": "user_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "user_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "type_muteAllMembers_createTime",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "type",
"Direction": "1"
},{
"Name": "mute_all_members",
"Direction": "1"
},
{
"Name": "create_time",
"Direction": "-1"
}
],
"MgoIsUnique": false
}
}
]
\ No newline at end of file
[
{
"IndexName": "group_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "group_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "conversation_id_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "conversation_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "conversation_id_1_update_time_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "conversation_id",
"Direction": "1"
},{
"Name": "update_time",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "type_1",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "type",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "groupId_type_createTime",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "group_id",
"Direction": "1"
},
{
"Name": "type",
"Direction": "1"
},
{
"Name": "create_time",
"Direction": "1"
}
],
"MgoIsUnique": false
}
}
]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册