Commit 7e3c6e3e authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'dump_all_schemas' into 'master'

[RUN ALL RSPEC] Configure db/structure dump to dump all schemas

See merge request gitlab-org/gitlab!67727
parents 15b1ccba e7f40aa5
......@@ -168,6 +168,11 @@ module Gitlab
# like if you have constraints or database-specific column types
config.active_record.schema_format = :sql
# Dump all DB schemas even if schema_search_path is defined,
# so that we get the same db/structure.sql
# regardless if schema_search_path is set, or not.
config.active_record.dump_schemas = :all
# Use new connection handling so that we can use Rails 6.1+ multiple
# database support.
config.active_record.legacy_connection_handling = false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment