sea-orm/sea-orm-cli
Billy Chan a9fc52009e
CLI allow generate entity with url without password (#436)
* fix: cli allow generate entity with url without password

* test: no password test case should not panic

* test: fix test cases, assert panic message
2022-01-14 00:46:32 +08:00
..
2022-01-01 16:05:36 +08:00
2021-12-25 11:31:47 +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

# SQLite (`--database-schema` option is ignored)
cargo run -- generate entity -u sqlite://bakery.db -o out

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