use postgre enum type for role, result