Skip to content

Commit 86e175b

Browse files
nickygerritsenmeisterT
authored andcommitted
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`.
1 parent a0dcd3c commit 86e175b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/migrations/Version20210407120356.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function up(Schema $schema) : void
6363
);
6464
}
6565

66-
$this->connection->executeStatement('ALTER TABLE `executable` DROP COLUMN `zipfile`');
66+
$this->addSql('ALTER TABLE `executable` DROP COLUMN `zipfile`');
6767
}
6868
}
6969

0 commit comments

Comments
 (0)