Fix for sqlite
This commit is contained in:
@@ -23,6 +23,9 @@ module Snibox
|
|||||||
config.load_defaults 5.1
|
config.load_defaults 5.1
|
||||||
config.web_console.whitelisted_ips = '0.0.0.0/0'
|
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
|
# Loggin to STDOUT for Docker
|
||||||
logger = ActiveSupport::Logger.new(STDOUT)
|
logger = ActiveSupport::Logger.new(STDOUT)
|
||||||
logger.formatter = config.log_formatter
|
logger.formatter = config.log_formatter
|
||||||
@@ -35,4 +38,4 @@ module Snibox
|
|||||||
# -- all .rb files in that directory are automatically loaded after loading
|
# -- all .rb files in that directory are automatically loaded after loading
|
||||||
# the framework and any gems in your application.
|
# the framework and any gems in your application.
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
Reference in New Issue
Block a user