Skip to content

Remove --locked-schema when running migrations on Heroku #1616

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

Merged
merged 1 commit into from
Feb 7, 2019

Conversation

jtgeibel
Copy link
Member

@jtgeibel jtgeibel commented Feb 7, 2019

This reverts a portion of #1611. Heroku does not make a checkout of
the source code available at runtime, so at the point in time we run
migrations src/schema.rs will not exist, and will thus always fail
this check.

The --locked-schema check is still run on CI, so this still gives us
confidence that our schema and src/schema.rs do not diverge.

This reverts a portion of rust-lang#1611.  Heroku does not make a checkout of
the source code available at runtime, so at the point in time we run
migrations `src/schema.rs` will not exist, and will thus always fail
this check.

The `--locked-schema` check is still run on CI, so this still gives us
confidence that our schema and `src/schema.rs` do not diverge.
@sgrif
Copy link
Contributor

sgrif commented Feb 7, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 7, 2019

📌 Commit d18d2d6 has been approved by sgrif

@bors
Copy link
Contributor

bors commented Feb 7, 2019

⌛ Testing commit d18d2d6 with merge 5130da6...

bors added a commit that referenced this pull request Feb 7, 2019
Remove `--locked-schema` when running migrations on Heroku

This reverts a portion of #1611.  Heroku does not make a checkout of
the source code available at runtime, so at the point in time we run
migrations `src/schema.rs` will not exist, and will thus always fail
this check.

The `--locked-schema` check is still run on CI, so this still gives us
confidence that our schema and `src/schema.rs` do not diverge.
@bors
Copy link
Contributor

bors commented Feb 7, 2019

☀️ Test successful - checks-travis
Approved by: sgrif
Pushing 5130da6 to master...

@bors bors merged commit d18d2d6 into rust-lang:master Feb 7, 2019
@jtgeibel jtgeibel deleted the remove-locked-schema-on-heroku branch February 7, 2019 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants