feat: back password reset email (#277)

This commit is contained in:
Bluub
2023-09-21 14:29:09 +02:00
committed by GitHub
parent 1ca4633360
commit 8155549031
17 changed files with 3751 additions and 3675 deletions
@@ -0,0 +1,8 @@
/*
Warnings:
- A unique constraint covering the columns `[email]` on the table `User` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "User" ALTER COLUMN "email" DROP NOT NULL;
+1 -1
View File
@@ -19,7 +19,7 @@ model User {
id Int @id @default(autoincrement())
username String @unique
password String?
email String
email String? @unique
emailVerified Boolean @default(false)
googleID String? @unique
isGuest Boolean @default(false)