Fix for Heroku db migration