Changing db to postgres