Skip to content

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

Merged
eileencodes merged 1 commit into
rails:masterfrom
freeletics:fix-db-prepare
Jul 24, 2019
Merged

eileencodes merged 1 commit into
rails:masterfrom
freeletics:fix-db-prepare

Conversation

@morgoth

@morgoth morgoth commented Jul 24, 2019

Copy link
Copy Markdown
Member

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
Copy Markdown
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.

2 participants