From 91ce32d9b9383428be4df5d971b44f519f1fb2b2 Mon Sep 17 00:00:00 2001 From: Paribesh Nepal <100255987+Paribesh01@users.noreply.github.com> Date: Sun, 3 Nov 2024 05:08:01 +0530 Subject: [PATCH] Delete migrate file --- .../20241021191938_somfadf/migration.sql | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 prisma/migrations/20241021191938_somfadf/migration.sql diff --git a/prisma/migrations/20241021191938_somfadf/migration.sql b/prisma/migrations/20241021191938_somfadf/migration.sql deleted file mode 100644 index 21f638de..00000000 --- a/prisma/migrations/20241021191938_somfadf/migration.sql +++ /dev/null @@ -1,18 +0,0 @@ --- CreateEnum -CREATE TYPE "ProjectStack" AS ENUM ('GO', 'PYTHON', 'MERN', 'NEXTJS', 'AI_GPT_APIS', 'SPRINGBOOT', 'OTHERS'); - --- DropForeignKey -ALTER TABLE "Experience" DROP CONSTRAINT "Experience_userId_fkey"; - --- DropForeignKey -ALTER TABLE "Project" DROP CONSTRAINT "Project_userId_fkey"; - --- AlterTable -ALTER TABLE "Project" ADD COLUMN "projectThumbnail" TEXT, -ADD COLUMN "stack" "ProjectStack" NOT NULL DEFAULT 'OTHERS'; - --- AddForeignKey -ALTER TABLE "Experience" ADD CONSTRAINT "Experience_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE; - --- AddForeignKey -ALTER TABLE "Project" ADD CONSTRAINT "Project_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;