diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-12-23 09:31:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-23 09:31:41 +0100 |
commit | 771934632833720c4d0560dc589f22d4f1bdb55e (patch) | |
tree | f7811a5f8d918f51030d2aadafe55226370a93e3 /app/DoctrineMigrations/Version20160916201049.php | |
parent | cd77a7e7eff5d6940a7037387062aa5dde64128c (diff) | |
parent | a72f3dc308f2e4386f73e88af41db919ba0acaf3 (diff) | |
download | wallabag-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/Version20160916201049.php')
-rw-r--r-- | app/DoctrineMigrations/Version20160916201049.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php index 9390755e..8b42bb87 100644 --- a/app/DoctrineMigrations/Version20160916201049.php +++ b/app/DoctrineMigrations/Version20160916201049.php | |||
@@ -33,7 +33,7 @@ class Version20160916201049 extends AbstractMigration implements ContainerAwareI | |||
33 | 33 | ||
34 | $this->skipIf($configTable->hasColumn('pocket_consumer_key'), 'It seems that you already played this migration.'); | 34 | $this->skipIf($configTable->hasColumn('pocket_consumer_key'), 'It seems that you already played this migration.'); |
35 | 35 | ||
36 | $configTable->addColumn('pocket_consumer_key', 'string'); | 36 | $configTable->addColumn('pocket_consumer_key', 'string', ['notnull' => false]); |
37 | $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'pocket_consumer_key';"); | 37 | $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'pocket_consumer_key';"); |
38 | } | 38 | } |
39 | 39 | ||