working on postgresql database for use with heroku