Fixing migration errors to publish on Heroku