minor change

This commit is contained in:
daniel31x13 2024-05-18 12:16:00 -04:00
parent f0621dac2e
commit 78fa417f06
2 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export default async function verifyEmail(
where: {
token,
expires: {
gte: new Date(),
gt: new Date(),
},
},
});

View File

@ -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