这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fatkodima
Copy link
Member

Currently, rails db:migrate:primary (and rails db:up:primary, rails db:down:primary) dumps schema files for all the databases, even though this is not necessary.

Fixes #49351 (see there for the problem description).

@eileencodes eileencodes merged commit 56b7357 into rails:main Oct 26, 2023
eileencodes added a commit that referenced this pull request Oct 26, 2023
…-specific

Dump schema only for a specific db for rollback/up/down tasks for multiple dbs
@eileencodes
Copy link
Member

eileencodes commented Oct 26, 2023

Thank you!

Backported to 7-1-stable in 40ecfd3

@fatkodima fatkodima deleted the multiple-databases-rake-dump-specific branch October 26, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

db:rollback:{database} dumps all databases schemas

2 participants