Fix for heroku. Migrations sorted