setup the postgres database