mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Silence multiple database warning
https://community.openproject.org/work_packages/51625
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user