diff --git a/collection/opendb-admin-menus/collection.json b/collection/opendb-admin-menus/collection.json index 5187d0f..3829566 100644 --- a/collection/opendb-admin-menus/collection.json +++ b/collection/opendb-admin-menus/collection.json @@ -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 + } } ] } \ No newline at end of file