diesel_cli_ext
diesel_cli_ext copied to clipboard
Generate Custom Types for certain Columns from tables
I have a enum type defined in my column of a table.when i use diesel_ext > src/models.rs
I ran into a issue of {MyEnumType} is not recognized. Please feel free to expand the HashMap.This could provide good hints: https://kotiri.com/2018/01/31/postgresql-diesel-rust-types.html
is there any way to allow the custom types.There's no problem in generating schema as it finds the enum and creates some Empty structs for enums.Later i can use diesel-derive-enums for working with enums