complete registration and login

This commit is contained in:
Matteo Rosati
2026-01-26 14:44:17 +01:00
parent 4fc146789f
commit c9db7c89d8
15 changed files with 315 additions and 114 deletions

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `token` to the `User` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "User" ADD COLUMN "token" TEXT NOT NULL DEFAULT '';

View File

@@ -11,5 +11,6 @@ model User {
id Int @id @default(autoincrement())
email String @unique
password String
token String @default("")
first_login Boolean
}