diesel_cli_ext icon indicating copy to clipboard operation
diesel_cli_ext copied to clipboard

Generate Custom Types for certain Columns from tables

Open DhineshKrishnan2 opened this issue 6 months ago • 1 comments

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

DhineshKrishnan2 avatar Aug 06 '24 12:08 DhineshKrishnan2