got pg working locally so changing local db to postgres