Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resets the ActiveRecord::Base connection after rails db:migrate:name #38587

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Resets the ActiveRecord::Base connection after rails db:migrate:name #38587

merged 1 commit into from
Feb 27, 2020

Conversation

kylekthompson
Copy link
Contributor

Summary

While working on #38586, I noticed that there was a slight additional inconsistency in the rails db:migrate:name commands. While rails db:migrate was resetting the ActiveRecord::Base connection back to the original configuration, rails db:migrate:name was not.

With these changes, the behaviors will line up going forward.

@eileencodes eileencodes merged commit b31c25b into rails:master Feb 27, 2020
@eileencodes
Copy link
Member

Thanks!

@kylekthompson kylekthompson deleted the kt-migrate-name-resets-active-record-base-connection branch February 27, 2020 18:37
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.

None yet

2 participants