From 98b41da17f71d2ab7c353309c36469c4cb0a4e14 Mon Sep 17 00:00:00 2001 From: rurivera6 Date: Wed, 19 Oct 2016 11:45:28 -0600 Subject: [PATCH] Need index on principalId for performance. --- common/models/role-mapping.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/models/role-mapping.json b/common/models/role-mapping.json index 592f2906..732e24af 100644 --- a/common/models/role-mapping.json +++ b/common/models/role-mapping.json @@ -11,7 +11,10 @@ "type": "string", "description": "The principal type, such as user, application, or role" }, - "principalId": "string" + "principalId": { + "type": "string", + "index": true + } }, "relations": { "role": {