You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jandudulski Are you able to confirm latest rails behaves as expected for you? I might be missing something, but when I run the demo app (https://github.com/jandudulski/shared_migrations_bug) against Rails 7.0.4.2, I end up with the shared options merged "below" each db config.
Note how the {foo:, bar:} migrations_paths hash from shared is added to the development foo database? I would not have expected to see any configuration for the bar database to be in the foo database's configuration.
Steps to reproduce
migrations_paths
config valueshared
sectionRails.application.config_for(:database)
loads yaml as expected with merged valuesrails db:migrate
anddb:migrate:status
ignores shared configExample app with reproduce: https://github.com/jandudulski/shared_migrations_bug
Expected behavior
Use shared section for migrations.
Actual behavior
Shared section is ignored.
System configuration
Rails version: verified on 6.1 and 7.0
Ruby version: N/A
The text was updated successfully, but these errors were encountered: