From 2884f8f5bdb19d4326101bcfd4fc5f67c9fe34d8 Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Fri, 22 Nov 2024 17:21:06 +0100 Subject: [PATCH] Fix migration for executable zipfile By doing the ALTER on the connection directly Doctrine didn't recognize it and re-added the column. We need to use `addSql`. --- webapp/migrations/Version20210407120356.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/migrations/Version20210407120356.php b/webapp/migrations/Version20210407120356.php index 14c263fae3..27543fba5e 100644 --- a/webapp/migrations/Version20210407120356.php +++ b/webapp/migrations/Version20210407120356.php @@ -63,7 +63,7 @@ public function up(Schema $schema) : void ); } - $this->connection->executeStatement('ALTER TABLE `executable` DROP COLUMN `zipfile`'); + $this->addSql('ALTER TABLE `executable` DROP COLUMN `zipfile`'); } }