]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
pocket_consumer_key can be null
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 13 Dec 2016 08:35:54 +0000 (09:35 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 19 Dec 2016 09:35:24 +0000 (10:35 +0100)
app/DoctrineMigrations/Version20160916201049.php

index 9390755ea0ee526655268224e4c4d56c599146b8..8b42bb8791a69bc3f0220508186cda0496adaf81 100644 (file)
@@ -33,7 +33,7 @@ class Version20160916201049 extends AbstractMigration implements ContainerAwareI
 
         $this->skipIf($configTable->hasColumn('pocket_consumer_key'), 'It seems that you already played this migration.');
 
-        $configTable->addColumn('pocket_consumer_key', 'string');
+        $configTable->addColumn('pocket_consumer_key', 'string', ['notnull' => false]);
         $this->addSql('DELETE FROM '.$this->getTable('craue_config_setting')." WHERE name = 'pocket_consumer_key';");
     }