Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Remove artifact from not existing migration

Bogdan Chadkin282d17392043
diff --git a/packages/prisma-client/prisma/migrations/20230515112405_file_uploader_project/migration.sql b/packages/prisma-client/prisma/migrations/20230515112405_file_uploader_project/migration.sql
index e26abf7f19..1f60bf7845 100644
--- a/packages/prisma-client/prisma/migrations/20230515112405_file_uploader_project/migration.sql
+++ b/packages/prisma-client/prisma/migrations/20230515112405_file_uploader_project/migration.sql
@@ -1,9 +1,5 @@
--- DropForeignKey
-ALTER TABLE "File" DROP CONSTRAINT "File_userId_fkey";
-
-- AlterTable
-ALTER TABLE "File" DROP COLUMN "userId",
-ADD COLUMN "uploaderProjectId" TEXT;
+ALTER TABLE "File" ADD COLUMN "uploaderProjectId" TEXT;
-- AddForeignKey
ALTER TABLE "File" ADD CONSTRAINT "File_uploaderProjectId_fkey" FOREIGN KEY ("uploaderProjectId") REFERENCES "Project"("id") ON DELETE SET NULL ON UPDATE CASCADE;