add debut auth systeme

This commit is contained in:
Arhur
2024-12-08 03:14:52 +01:00
parent f26a23bc45
commit 3efd4c9345
16 changed files with 1835 additions and 123 deletions
@@ -0,0 +1,11 @@
-- CreateTable
CREATE TABLE "User" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"email" TEXT NOT NULL,
"password" TEXT NOT NULL,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);
-- CreateIndex
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");