perf: Add teamId index on Credential (#27153)

This commit is contained in:
Keith Williams authored and GitHub committed 2026-01-22 14:29:01 -03:00
1 parent 6f7c8bdd73
commit 1736c9df3c
2 files changed
+3

No files matched your search

@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "Credential_teamId_idx" ON "public"."Credential"("teamId");
+1
View File
@@ -309,6 +309,7 @@ model Credential {
@@index([subscriptionId])
@@index([invalid])
@@index([userId, delegationCredentialId])
@@index([teamId])
}
enum IdentityProvider {