diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-13 09:35:54 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-19 10:35:24 +0100 |
commit | 3ad4061dbab52a17cc961bef15abad181e352448 (patch) | |
tree | ab2944fa1cb5057eee7350e5745de3fd529da615 /app | |
parent | d9efa42f6619a0b0784e6e28b9b7f2784b2f71d3 (diff) | |
download | wallabag-3ad4061dbab52a17cc961bef15abad181e352448.tar.gz wallabag-3ad4061dbab52a17cc961bef15abad181e352448.tar.zst wallabag-3ad4061dbab52a17cc961bef15abad181e352448.zip |
pocket_consumer_key can be null
Diffstat (limited to 'app')
-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 | ||