Skip to content

Commit 5082c78

Browse files
committed
Run Diesel migrations in the Procfile
I've left the original migration binary in there for now, since we need to migrate the database to use Diesel's migration infrastructure on the first deploy. After this commit has been deployed it can be removed.
1 parent b090a86 commit 5082c78

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: ./target/release/migrate && bin/start-nginx ./target/release/server
1+
web: ./target/release/migrate && diesel migration run && bin/start-nginx ./target/release/server
22
worker: ./target/release/update-downloads daemon 300

0 commit comments

Comments
 (0)