diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-12 17:41:03 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-12-12 17:41:03 +0100 |
commit | 24879db1f73c85b121702ba8c6ea36bae285c7c3 (patch) | |
tree | 9caa9e59d581ea0be79193635683bac5f1065438 /app/DoctrineMigrations/Version20161128084725.php | |
parent | 2c1eed8051160499d40ed033c83dd003c81b371e (diff) | |
download | wallabag-24879db1f73c85b121702ba8c6ea36bae285c7c3.tar.gz wallabag-24879db1f73c85b121702ba8c6ea36bae285c7c3.tar.zst wallabag-24879db1f73c85b121702ba8c6ea36bae285c7c3.zip |
Add default value for list_mode
Diffstat (limited to 'app/DoctrineMigrations/Version20161128084725.php')
-rw-r--r-- | app/DoctrineMigrations/Version20161128084725.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/DoctrineMigrations/Version20161128084725.php b/app/DoctrineMigrations/Version20161128084725.php index 242d5900..ea370076 100644 --- a/app/DoctrineMigrations/Version20161128084725.php +++ b/app/DoctrineMigrations/Version20161128084725.php | |||
@@ -35,7 +35,7 @@ class Version20161128084725 extends AbstractMigration implements ContainerAwareI | |||
35 | $configTable = $schema->getTable($this->getTable('config')); | 35 | $configTable = $schema->getTable($this->getTable('config')); |
36 | $this->skipIf($configTable->hasColumn('list_mode'), 'It seems that you already played this migration.'); | 36 | $this->skipIf($configTable->hasColumn('list_mode'), 'It seems that you already played this migration.'); |
37 | 37 | ||
38 | $configTable->addColumn('list_mode', 'integer'); | 38 | $configTable->addColumn('list_mode', 'integer', ['notnull' => false]); |
39 | } | 39 | } |
40 | 40 | ||
41 | /** | 41 | /** |