changed it so that the database works on heroku. The url was wrong.