Bobby Meyer
developer/designer
heroku | postgresql | rails | ruby
Automatic Database Migration on Heroku
March 17, 2021More than once, I have pushed a new release to Heroku and forgot to migrate the database. This can be avoided by adding a release command to your Procfile:
Now, the database migrations are run immediately upon release.
back to posts