Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor change

daniel31x1378fa417f0612
diff --git a/pages/api/v1/auth/verify-email.ts b/pages/api/v1/auth/verify-email.ts
index 5fe5eabb..2621c1e0 100644
--- a/pages/api/v1/auth/verify-email.ts
+++ b/pages/api/v1/auth/verify-email.ts
@@ -20,7 +20,7 @@ export default async function verifyEmail(
where: {
token,
expires: {
- gte: new Date(),
+ gt: new Date(),
},
},
});
diff --git a/prisma/schema.prisma b/prisma/schema.prisma
index 6413faf5..1cec0fb4 100644
--- a/prisma/schema.prisma
+++ b/prisma/schema.prisma
@@ -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