fix: add teamId index on VerificationToken (#12339)

* fix: add teamId index on InvitationToken

* fix: add migration
This commit is contained in:
Morgan authored and GitHub committed 2023-11-13 13:42:27 +00:00
1 parent 3ea9faa414
commit 199f41fb1a
2 files changed
+3

No files matched your search

@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "VerificationToken_teamId_idx" ON "VerificationToken"("teamId");
+1
View File
@@ -335,6 +335,7 @@ model VerificationToken {
@@unique([identifier, token])
@@index([token])
@@index([teamId])
}
model BookingReference {