Need index on principalId for performance. (#2883) (#2884)

Backport of #2883
This commit is contained in:
Simon Ho 2016-10-21 16:31:33 -07:00 committed by GitHub
parent df13b094bb
commit 3e0fd94f60
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": {