basic register

This commit is contained in:
Matteo Rosati
2026-01-26 00:36:05 +01:00
parent 54141eb91a
commit 4b93f0c7f7
12 changed files with 217 additions and 44 deletions

View File

@@ -0,0 +1,12 @@
-- CreateTable
CREATE TABLE "User" (
"id" SERIAL NOT NULL,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"first_login" BOOLEAN NOT NULL,
CONSTRAINT "User_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");