Fix database issue on heroku