support enum type of database