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]);
}
/**

View File

@ -51,6 +51,8 @@ wallabag_core:
rss_limit: 50
reading_speed: 1
cache_lifetime: 10
action_mark_as_read: 1
list_mode: 1
fetching_error_message: |
wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.