diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 08:48:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-09-23 08:48:29 +0000 |
commit | 5ae629b3bbcf4bbbe0018f31f499f1ffb49dc7ad (patch) | |
tree | 8171276502481d82580c045c72fe769fa0faeba9 /config/application.rb | |
parent | e856c9f879f15f31317ddfcf35042e799b90f783 (diff) | |
download | redmine-5ae629b3bbcf4bbbe0018f31f499f1ffb49dc7ad.tar.gz redmine-5ae629b3bbcf4bbbe0018f31f499f1ffb49dc7ad.zip |
Sqlite3: Boolean values are now stored as 1 and 0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17500 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index cb848bee6..d77d37e70 100644 --- a/config/application.rb +++ b/config/application.rb @@ -47,6 +47,9 @@ module RedmineApp # Do not include all helpers config.action_controller.include_all_helpers = false + # Since Redmine 4.0, boolean values are stored in sqlite3 databases as 1 and 0 + config.active_record.sqlite3.represent_boolean_as_integer = true + # Sets the Content-Length header on responses with fixed-length bodies config.middleware.insert_after Rack::Sendfile, Rack::ContentLength |