Add default value for list_mode

This commit is contained in:
Jeremy Benoist
2016-12-12 17:41:03 +01:00
parent 2c1eed8051
commit 24879db1f7
8 changed files with 25 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class Version20161128084725 extends AbstractMigration implements ContainerAwareI
$configTable = $schema->getTable($this->getTable('config'));
$this->skipIf($configTable->hasColumn('list_mode'), 'It seems that you already played this migration.');
$configTable->addColumn('list_mode', 'integer');
$configTable->addColumn('list_mode', 'integer', ['notnull' => false]);
}
/**