codeforamerica / ohana-api

The open source API directory of community social services.
http://ohana-api-demo.herokuapp.com/api
BSD 3-Clause "New" or "Revised" License
185 stars 344 forks source link

Add DB migration release phase to Procfile #443

Closed monfresh closed 6 years ago

monfresh commented 6 years ago

Why: To allow migrations to run automatically when deploying to Heroku, and to ensure that the build does not get deployed if the migration fails.

Reference: https://devcenter.heroku.com/articles/release-phase