]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20190129120000.php
Merge pull request #4151 from ldidry/fix-4060
[github/wallabag/wallabag.git] / app / DoctrineMigrations / Version20190129120000.php
index 5f25d67d0460823f5f8d53effd3bac448607bf99..8c5e28cabade20471807339e45f99c22f98f68f4 100644 (file)
@@ -118,9 +118,6 @@ final class Version20190129120000 extends WallabagMigration
         ],
     ];
 
-    /**
-     * @param Schema $schema
-     */
     public function up(Schema $schema)
     {
         foreach ($this->settings as $setting) {
@@ -137,16 +134,8 @@ final class Version20190129120000 extends WallabagMigration
         }
     }
 
-    /**
-     * @param Schema $schema
-     */
     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.');
     }
 }