minor change
This commit is contained in:
parent
f0621dac2e
commit
78fa417f06
|
@ -20,7 +20,7 @@ export default async function verifyEmail(
|
|||
where: {
|
||||
token,
|
||||
expires: {
|
||||
gte: new Date(),
|
||||
gt: new Date(),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
@ -79,6 +79,14 @@ model VerificationToken {
|
|||
@@unique([identifier, token])
|
||||
}
|
||||
|
||||
model PasswordResetToken {
|
||||
identifier String
|
||||
token String @unique
|
||||
expires DateTime
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Collection {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
|
|
Ŝarĝante…
Reference in New Issue