Fix migrations for heroku.