Skip to content

Commit d18d2d6

Browse files
committed
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.
1 parent e418a15 commit d18d2d6

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)