Trying to fix an issue with migrating db to heroku