switches to postgresql database for heroku