diff --git a/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md b/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md index 03bbe4213a6..d730a3f4fb0 100644 --- a/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md +++ b/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md @@ -55,6 +55,8 @@ Command line options: - `--serde-skip-hidden-column`: generate entity model with hidden column (column name starts with `_`) field labeled as `#[serde(skip)]` - `--date-time-crate`: the datetime crate to use for generating entities (`chrono`, `time`) (default: `chrono`) - `--max-connections`: maximum number of database connections to be initialized in the connection pool (default: `1`) +- `--model-extra-derives`: append extra derive macros to the generated model struct +- `--model-extra-attributes`: append extra attributes to generated model struct ```shell # Generate entity files of database `bakery` to `entity/src`