Fixed Database Errors with Heroku