]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/DoctrineMigrations/Version20160916201049.php
pocket_consumer_key can be null
[github/wallabag/wallabag.git] / 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';");
     }