Skip to content

Generate Custom Types for certain Columns from tables #65

@DhineshKrishnan2

Description

@DhineshKrishnan2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions