When datatype of a column is changed to ENUM, this involve creation of custom type in postgresql database pg_type schema. The query responsible for creating the corresponding type is missing. I have briefly gone through the source code of dbdiff and I can't find the code responsible for this.