Changed the settings to connect to remote database via heroku.