65 Commits

Author SHA1 Message Date
Forest Anderson
bcc5b5066a Changed manual url parsing to use Url crate 2021-10-16 23:19:48 -04:00
Tim Eggert
b6c5d71fe2 Introduce optional serde support for model code generation
This introduces several things to optionally support automatic derive attributes for `serde::{Deserialize, Serialize}` for the generated models:
- introduces a `WithSerde` enum to indicate if Serialize, Deserialize, or even both should be derived from,
- adds an optional cli argument `--with-serde [none: default, serialize, deserialize, both]`
- adds test harness for both compact and expanded generation
2021-10-11 14:55:00 +02:00
Jordy Ruiter
ba96917a18 Add tables option to CLI generate entity 2021-10-03 15:45:07 +09:00
baoyachi
86f2d7e327 fix #200
* adapter postgrel url scheme
* refactor DbScheme
2021-09-27 11:45:54 +08:00
Billy Chan
962d895249
Add CLI verbose option 2021-09-16 10:14:01 +08:00
Billy Chan
a6f117a908
sea-orm-cli with --expanded-format & --compact-format flags 2021-09-10 23:08:30 +08:00
Billy Chan
1765ac953b Add "--include-hidden-tables" flag 2021-08-11 12:45:24 +08:00
Billy Chan
10d670e472 Update CLI generate entity schema argument behavior 2021-08-11 12:45:24 +08:00
Chris Tsang
1b47f896a7 Tweaks 2021-08-08 03:11:37 +08:00
Billy Chan
3701c86637
CLI Generate Entity for Postgres (#61)
* cli generate entity for Postgres

* Fixup
2021-08-07 18:23:52 +08:00
Chris Tsang
d5f63a05c4 Tweaks 2021-07-29 23:18:37 +08:00
Billy Chan
0b10d30c64 Codegen not depends on sea-schema & sqlx 2021-07-27 21:48:41 +08:00
Billy Chan
47bb5b3ad7
sea-orm-cli showing help message when no sub-command provided 2021-07-02 10:42:56 +08:00
Billy Chan
fa30519f99 sea-orm-cli read config from .env, update command, rename binary to sea-orm-cli 2021-06-26 21:46:10 +08:00
Billy Chan
cab4b5a3f7
Codegen: Entity Generator (#23) 2021-06-19 19:47:59 +08:00