Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Silence multiple database warning

Oliver Günther45ef7493c322
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 = {