diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-12-12 22:54:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 22:54:43 +0100 |
commit | 375c9e2d3eddebf168e078f4dec7608a3c34245c (patch) | |
tree | 9caa9e59d581ea0be79193635683bac5f1065438 /app/DoctrineMigrations | |
parent | 2c1eed8051160499d40ed033c83dd003c81b371e (diff) | |
parent | 24879db1f73c85b121702ba8c6ea36bae285c7c3 (diff) | |
download | wallabag-375c9e2d3eddebf168e078f4dec7608a3c34245c.tar.gz wallabag-375c9e2d3eddebf168e078f4dec7608a3c34245c.tar.zst wallabag-375c9e2d3eddebf168e078f4dec7608a3c34245c.zip |
Merge pull request #2697 from wallabag/fix-list-mode
Add default value for list_mode
Diffstat (limited to 'app/DoctrineMigrations')
-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 | /** |