fix: auth otp flow + remove generated
This commit is contained in:
@@ -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");
|
||||
Reference in New Issue
Block a user