fix: add teamId index on VerificationToken (#12339)
* fix: add teamId index on InvitationToken * fix: add migration
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- CreateIndex
|
||||
CREATE INDEX "VerificationToken_teamId_idx" ON "VerificationToken"("teamId");
|
||||
@@ -335,6 +335,7 @@ model VerificationToken {
|
||||
|
||||
@@unique([identifier, token])
|
||||
@@index([token])
|
||||
@@index([teamId])
|
||||
}
|
||||
|
||||
model BookingReference {
|
||||
|
||||
Reference in New Issue
Block a user