modified database config file to use postgres instead