chore: opendb-admin-menus indexes

This commit is contained in:
wangyaqi 2020-10-26 14:34:20 +08:00
parent dae39f1ef1
commit 8e5d25893e

View File

@ -47,18 +47,6 @@
}
},
"index": [
{
"IndexName": "permission",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "permission",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "menu_id",
"MgoKeySchema": {
@ -70,6 +58,30 @@
],
"MgoIsUnique": true
}
},
{
"IndexName": "parent_id",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "parent_id",
"Direction": "1"
}
],
"MgoIsUnique": false
}
},
{
"IndexName": "permission",
"MgoKeySchema": {
"MgoIndexKeys": [
{
"Name": "permission",
"Direction": "1"
}
],
"MgoIsUnique": false
}
}
]
}