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 database warning

Oliver Güntherbe6b24e0dbd4
diff --git a/config/application.rb b/config/application.rb
index 136fbe7bd0d..0e48b09bc81 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -66,6 +66,10 @@ module OpenProject
# https://community.openproject.org/wp/45463 for details.
config.load_defaults 5.0
+ # Silence the "multiple database warning"
+ # Note that this warning can be removed in the 7.1 upgrade
+ ActiveRecord.suppress_multiple_database_warning = true
+
# Do not require `belongs_to` associations to be present by default.
# Rails 5.0+ default is true. Because of history, lots of tests fail when
# set to true.