configure postgresql for heroku deployment