From 79e26a9a46c39adaef653d93f1f0e528d7fd51bc Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Tue, 18 Feb 2025 15:19:39 +1100 Subject: [PATCH] fix: remove session migration --- .../migration.sql | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 packages/prisma/migrations/20250212125902_rework_sessions/migration.sql diff --git a/packages/prisma/migrations/20250212125902_rework_sessions/migration.sql b/packages/prisma/migrations/20250212125902_rework_sessions/migration.sql deleted file mode 100644 index 5af838335..000000000 --- a/packages/prisma/migrations/20250212125902_rework_sessions/migration.sql +++ /dev/null @@ -1,18 +0,0 @@ -/* - Warnings: - - - You are about to drop the column `expires` on the `Session` table. All the data in the column will be lost. - - Added the required column `expiresAt` to the `Session` table without a default value. This is not possible if the table is not empty. - - Added the required column `updatedAt` to the `Session` table without a default value. This is not possible if the table is not empty. - -*/ --- AlterTable -ALTER TABLE "Account" ADD COLUMN "password" TEXT; - --- AlterTable -ALTER TABLE "Session" DROP COLUMN "expires", -ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP, -ADD COLUMN "expiresAt" TIMESTAMP(3) NOT NULL, -ADD COLUMN "ipAddress" TEXT, -ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL, -ADD COLUMN "userAgent" TEXT;