Improve Authorize performance

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-12-23 20:21:37 +01:00
parent 2615a1eed5
commit 5ae8da7610
3 changed files with 63 additions and 88 deletions

View File

@@ -0,0 +1,2 @@
CREATE INDEX IF NOT EXISTS idx_iam_memberships_identity_tenant_org ON iam_memberships(identity_id, tenant_id, organization_id);