From fd22e2b514bdcae069840a9cebcd92d91618ecbf Mon Sep 17 00:00:00 2001 From: Yiu Tin Cheung Ivan Date: Wed, 12 Jul 2023 18:16:36 +0800 Subject: [PATCH] entity generation bug SeaQL/sea-schema#105 --- SeaORM/docs/0.12.x-CHANGELOG_temp.md | 2 +- SeaORM/docs/04-generate-entity/01-sea-orm-cli.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SeaORM/docs/0.12.x-CHANGELOG_temp.md b/SeaORM/docs/0.12.x-CHANGELOG_temp.md index cafeebad28c..d99eca053a0 100644 --- a/SeaORM/docs/0.12.x-CHANGELOG_temp.md +++ b/SeaORM/docs/0.12.x-CHANGELOG_temp.md @@ -396,8 +396,8 @@ CREATE TABLE users_saved_bills CONSTRAINT users_saved_bills_pkey PRIMARY KEY (user_id, bill_id) ); ``` - ================================ All Changes above was being Documented ================================ * [sea-orm-cli] fixed entity generation includes partitioned tables https://github.com/SeaQL/sea-orm/issues/1582, https://github.com/SeaQL/sea-schema/pull/105 + ================================ All Changes above was being Documented ================================ * Fixed `ActiveEnum::db_type()` return type does not implement `ColumnTypeTrait` https://github.com/SeaQL/sea-orm/pull/1576 ```rs impl ColumnTrait for Column { 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 d730a3f4fb0..373f2222e0e 100644 --- a/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md +++ b/SeaORM/docs/04-generate-entity/01-sea-orm-cli.md @@ -47,7 +47,7 @@ Command line options: - `-v` / `--verbose`: print debug messages - `-l` / `--lib`: generate index file as `lib.rs` instead of `mod.rs` - `--include-hidden-tables`: generate entity files from hidden tables (tables with names starting with an underscore are hidden and ignored by default) -- `--ignore-tables`: skip generating entity file for specified tables (default: `seaql_migrations`) +- `--ignore-tables`: skip generating entity file or relations for specified tables (default: `seaql_migrations`) - `--compact-format`: generate entity file of [compact format](04-generate-entity/02-entity-structure.md) (default: true) - `--expanded-format`: generate entity file of [expanded format](04-generate-entity/03-expanded-entity-structure.md) - `--with-serde`: automatically derive serde Serialize / Deserialize traits for the entity (`none`, `serialize`, `deserialize`, `both`) (default: `none`)