- BACKWARD INCOMPATIBLE
TablesGenerator.render_column_type()was changed to receive theColumnobject instead of the column type object as its sole argument - Added Python enum generation for native database ENUM types (e.g., PostgreSQL / MySQL ENUM). Retained synthetic Python enum generation from CHECK constraints with IN clauses (e.g.,
column IN ('val1', 'val2', ...)). Use--options nonativeenumsto disable enum generation for native database enums. Use--options nosyntheticenumsto disable enum generation for synthetic database enums (VARCHAR columns with check constraints). (PR by @sheinbergon)