From: Jeremy Benoist Date: Fri, 1 Mar 2019 19:26:51 +0000 (+0100) Subject: Disable down for that migration X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=refs%2Fpull%2F3868%2Fhead;p=github%2Fwallabag%2Fwallabag.git Disable down for that migration --- diff --git a/app/DoctrineMigrations/Version20190129120000.php b/app/DoctrineMigrations/Version20190129120000.php index 5f25d67d..3632e762 100644 --- a/app/DoctrineMigrations/Version20190129120000.php +++ b/app/DoctrineMigrations/Version20190129120000.php @@ -142,11 +142,6 @@ final class Version20190129120000 extends WallabagMigration */ public function down(Schema $schema) { - foreach ($this->settings as $setting) { - $this->addSql(' - DELETE FROM ' . $this->getTable('craue_config_setting') . " - WHERE name = '" . $setting['name'] . "'; - "); - } + $this->skipIf(true, 'These settings are required and should not be removed.'); } }