Billy Chan 1cdbcceddb
Testing different db on various async runtime (#53)
* Testing different db on various async runtime

* Test on various runtime

* No explicit cargo build step

* Cargo build with features

* Hotfix

* With actix_rt

* Only tests "runtime-async-std-native-tls" for now
2021-07-22 19:23:21 +08:00
..
2021-07-22 19:08:42 +08:00

SeaORM CLI Example

Prepare:

Setup a test database and configure the connection string in .env. Run bakery.sql to setup the test table and data.

Building sea-orm-cli:

(cd ../../sea-orm-cli ; cargo build)

Generating entity:

../../target/debug/sea-orm-cli generate entity -o src/entity