feat: Add email verification and password reset
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "users" ADD COLUMN "emailVerified" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -17,9 +17,10 @@ model User {
|
||||
id String @id @default(uuid())
|
||||
|
||||
// Credentials
|
||||
email String @unique
|
||||
password String?
|
||||
type AuthMethod
|
||||
email String @unique
|
||||
password String?
|
||||
type AuthMethod
|
||||
emailVerified Boolean @default(false)
|
||||
|
||||
// Relations
|
||||
memberships Membership[]
|
||||
|
||||
Reference in New Issue
Block a user