aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20161031132655.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-12-23 09:31:41 +0100
committerGitHub <noreply@github.com>2016-12-23 09:31:41 +0100
commit771934632833720c4d0560dc589f22d4f1bdb55e (patch)
treef7811a5f8d918f51030d2aadafe55226370a93e3 /app/DoctrineMigrations/Version20161031132655.php
parentcd77a7e7eff5d6940a7037387062aa5dde64128c (diff)
parenta72f3dc308f2e4386f73e88af41db919ba0acaf3 (diff)
downloadwallabag-771934632833720c4d0560dc589f22d4f1bdb55e.tar.gz
wallabag-771934632833720c4d0560dc589f22d4f1bdb55e.tar.zst
wallabag-771934632833720c4d0560dc589f22d4f1bdb55e.zip
Merge pull request #2696 from wallabag/run-migration
Run migration on each test
Diffstat (limited to 'app/DoctrineMigrations/Version20161031132655.php')
-rw-r--r--app/DoctrineMigrations/Version20161031132655.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20161031132655.php b/app/DoctrineMigrations/Version20161031132655.php
index 770ad2d8..f81898ff 100644
--- a/app/DoctrineMigrations/Version20161031132655.php
+++ b/app/DoctrineMigrations/Version20161031132655.php
@@ -36,7 +36,7 @@ class Version20161031132655 extends AbstractMigration implements ContainerAwareI
36 36
37 $this->skipIf(false !== $images, 'It seems that you already played this migration.'); 37 $this->skipIf(false !== $images, 'It seems that you already played this migration.');
38 38
39 $this->addSql('INSERT INTO "'.$this->getTable('craue_config_setting')."\" (name, value, section) VALUES ('download_images_enabled', 0, 'misc')"); 39 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('download_images_enabled', 0, 'misc')");
40 } 40 }
41 41
42 /** 42 /**
@@ -44,6 +44,6 @@ class Version20161031132655 extends AbstractMigration implements ContainerAwareI
44 */ 44 */
45 public function down(Schema $schema) 45 public function down(Schema $schema)
46 { 46 {
47 $this->addSql('DELETE FROM "'.$this->getTable('craue_config_setting')."\" WHERE name = 'download_images_enabled';"); 47 $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'download_images_enabled';");
48 } 48 }
49} 49}