Fix the migrations for heroku deployment