Skip to content

Commit dcc58a9

Browse files
authored
Need index on principalId for performance. (#2883)
1 parent 9cc473c commit dcc58a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

common/models/role-mapping.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"type": "string",
1212
"description": "The principal type, such as user, application, or role"
1313
},
14-
"principalId": "string"
14+
"principalId": {
15+
"type": "string",
16+
"index": true
17+
}
1518
},
1619
"relations": {
1720
"role": {

0 commit comments

Comments
 (0)