sea-orm/sea-orm-cli
Billy Chan d9ac5d83de
Fix compile errors on different runtime (#84)
* Fix compile errors on different runtime

* Split sea-orm-cli into separate workspace

* Hotfix
2021-08-14 18:43:47 +08:00
..
2021-08-11 12:45:24 +08:00

SeaORM CLI

Getting Help:

cargo run -- -h

Running Entity Generator:

# MySQL (`--database-schema` option is ignored) 
cargo run -- generate entity -u mysql://sea:sea@localhost/bakery -o out

# PostgreSQL
cargo run -- generate entity -u postgres://sea:sea@localhost/bakery -s public -o out