Need index on principalId for performance. (#2883)

This commit is contained in:
Simon Ho 2016-10-21 16:13:16 -07:00 committed by GitHub
parent 9cc473ce52
commit dcc58a9d50
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@
"type": "string", "type": "string",
"description": "The principal type, such as user, application, or role" "description": "The principal type, such as user, application, or role"
}, },
"principalId": "string" "principalId": {
"type": "string",
"index": true
}
}, },
"relations": { "relations": {
"role": { "role": {