fix: add teamId index on VerificationToken (#12339)

* fix: add teamId index on InvitationToken

* fix: add migration
This commit is contained in:
Morgan
2023-11-13 13:42:27 +00:00
committed by GitHub
parent 3ea9faa414
commit 199f41fb1a
2 changed files with 3 additions and 0 deletions
@@ -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 {