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

Fixed db:prepare task to not touch schema when it is disabled #36744

Merged
merged 1 commit into from Jul 24, 2019

Conversation

morgoth
Copy link
Member

@morgoth morgoth commented Jul 24, 2019

During #36416 I forgot to move the conditional for dumping schema, that
is present in

if ActiveRecord::Base.dump_schema_after_migration

This is causing issues in environments with limited file permissions that are preparing database.

@eileencodes can we have it backported to 6-0-stable branch as well?

@eileencodes eileencodes merged commit 6cd364c into rails:master Jul 24, 2019
eileencodes added a commit that referenced this pull request Jul 24, 2019
Fixed db:prepare task to not touch schema when it is disabled
@eileencodes
Copy link
Member

Thanks @morgoth! Backported to 6-0-stable 👍

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