Change database to postgresql in preparation for Heroku deployment