fix: auth otp flow + remove generated

This commit is contained in:
SauravDhakal
2026-04-05 16:19:19 +05:45
parent 4905c6f1d1
commit ab8b2ef353
27 changed files with 340 additions and 8425 deletions

View File

@@ -0,0 +1,9 @@
-- CreateTable
CREATE TABLE "user_otp" (
"email" TEXT NOT NULL,
"otp" INTEGER NOT NULL,
"generatedOn" TIMESTAMP(3) NOT NULL
);
-- CreateIndex
CREATE UNIQUE INDEX "user_otp_email_key" ON "user_otp"("email");