diff --git a/config/environments/production.rb b/config/environments/production.rb index 3dfa24de6a6..5d3de7353c5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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 = {