pocket_consumer_key can be null

This commit is contained in:
Jeremy Benoist 2016-12-13 09:35:54 +01:00
parent d9efa42f66
commit 3ad4061dba
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C

View 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';");
}