changes db to postgres for heroku