changing local back to postgres