add PasswordResetToken table

This commit is contained in:
daniel31x13
2024-05-18 12:18:43 -04:00
parent 78fa417f06
commit 27061ada43
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,11 @@
-- CreateTable
CREATE TABLE "PasswordResetToken" (
"identifier" TEXT NOT NULL,
"token" TEXT NOT NULL,
"expires" TIMESTAMP(3) NOT NULL,
"createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
);
-- CreateIndex
CREATE UNIQUE INDEX "PasswordResetToken_token_key" ON "PasswordResetToken"("token");