diesel_cli_ext
diesel_cli_ext copied to clipboard
It contains different code generation (not rust codegen) cli tools that may help your life with Diesel easier.
Related to https://github.com/abbychau/diesel_cli_ext/issues/30 and https://github.com/abbychau/diesel_cli_ext/issues/27. It would be nice if one could modify the derives for certain tables! In a add/remove kind of way: `--derive-mod "table_name +AdditionalTrait"` `--derive-mod "table_name -DontDeriveThisTrait"`...
Suggestion: Allow overriding models struct name for given table with a custom name.
Some table's model structs should still be handwritten, and there should be no confusion / shadowing or dead code. So it'd be great if one could `--exclude table_name` / `-e...
I have several instances of this pattern: Table `foo` has a column that's `TEXT NOT NULL`, but it represents an enum in Rust, which is serialized as string in pg....
I'm finding it annoying that everytime I update my database schema I lose all of my "models.rs macros" (derive statements and the like) and "impl blocks" and have to manually...
i ran into an issue with sqlite. the generated struct needs `#[diesel(check_for_backend(diesel::sqlite::Sqlite))]` attribute to compile and it seems there is no way to set it right now i figured it...
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...