From 323a846a4b1fdc461ed5abca86953c26539ff1d3 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 May 2025 15:45:03 +0200 Subject: [PATCH] update prisma --- .../migration.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 prisma/migrations/20250525134428_add_refresh_expires_in_to_account/migration.sql diff --git a/prisma/migrations/20250525134428_add_refresh_expires_in_to_account/migration.sql b/prisma/migrations/20250525134428_add_refresh_expires_in_to_account/migration.sql new file mode 100644 index 0000000..88bc8de --- /dev/null +++ b/prisma/migrations/20250525134428_add_refresh_expires_in_to_account/migration.sql @@ -0,0 +1,11 @@ +-- AlterTable +ALTER TABLE "Account" ADD COLUMN "refresh_expires_in" INTEGER; + +-- AlterTable +ALTER TABLE "User" ADD COLUMN "isLocked" BOOLEAN NOT NULL DEFAULT false; + +-- CreateIndex +CREATE INDEX "Account_userId_idx" ON "Account"("userId"); + +-- CreateIndex +CREATE INDEX "Session_userId_idx" ON "Session"("userId");