Fix for sqlite

This commit is contained in:
Pavel Pivovarov
2018-12-22 05:21:01 +00:00
parent 218b29fb56
commit ba96131506

View File

@@ -23,6 +23,9 @@ module Snibox
config.load_defaults 5.1
config.web_console.whitelisted_ips = '0.0.0.0/0'
# SQLite3 fix
config.active_record.sqlite3.represent_boolean_as_integer = true
# Loggin to STDOUT for Docker
logger = ActiveSupport::Logger.new(STDOUT)
logger.formatter = config.log_formatter