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