Ensuring migrations run in the correct order.
Adding settings for Heroku.