reconfigure for heroku deployment by switching database to postgresql