mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-21 12:56:21 +02:00
🐛 Make identifier in verification tokens case insensitive (#919)
This commit is contained in:
parent
768b73c89a
commit
b10c64b7da
3 changed files with 25 additions and 7 deletions
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "verification_tokens" ALTER COLUMN "identifier" SET DATA TYPE CITEXT;
|
|
@ -228,7 +228,7 @@ model Comment {
|
|||
}
|
||||
|
||||
model VerificationToken {
|
||||
identifier String
|
||||
identifier String @db.Citext
|
||||
token String @unique
|
||||
expires DateTime
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue