Skip to content

Commit 5130da6

Browse files
committed
Auto merge of #1616 - jtgeibel:remove-locked-schema-on-heroku, r=sgrif
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.
2 parents e418a15 + d18d2d6 commit 5130da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
web: bin/diesel migration run --locked-schema && bin/start-nginx ./target/release/server
1+
web: bin/diesel migration run && bin/start-nginx ./target/release/server
22
worker: ./target/release/update-downloads daemon 300

0 commit comments

Comments
 (0)