Silence multiple database warning

https://community.openproject.org/work_packages/51625
This commit is contained in:
Oliver Günther
2023-12-14 11:15:48 +01:00
parent 9e79e3b194
commit 45ef7493c3
+5
View File
@@ -127,6 +127,11 @@ OpenProject::Application.configure do
config.active_record.dump_schema_after_migration = false
# Silence the following warning
# "Rails couldn't infer whether you are using multiple databases from your database.yml"
# This is deprecated in 7.1. and the warning got removed.
config.active_record.suppress_multiple_database_warning = true
if OpenProject::Configuration.enable_internal_assets_server?
config.public_file_server.enabled = true
config.public_file_server.headers = {