6 Commits

Author SHA1 Message Date
Billy Chan
8eb095385d Migration (#335)
* Refactor `ConnectionTrait`

* Refactoring

* Build index & foreign key statements

* Fix imports

* Fixup

* Rocket example with migration

* async-std compatible with the tokio 1.0 runtime

* Use reexported dependency

* Compile without selecting any db backend

* Updating sea-orm-cli dep

* sea-orm-cli migrate commands

* cargo fmt

* Test [cli]

* Refactoring

* Clap app name should be "sea-orm-cli"

* Correctly capture MIGRATION_DIR

* Rename README

* Add `sea-orm-cli migrate init` command

* Update README

* Try restructured sea-query dependency (SeaQL/sea-schema#41)

* Set `DATABASE_URL` environment variable
2022-02-05 20:34:54 +08:00
Chris Tsang
9be7440e58 Readme 2021-09-03 22:09:20 +08:00
Chris Tsang
e6b5d3ebdc Edit 2021-09-03 21:58:45 +08:00
Chris Tsang
9665355d22 Screenshot 2021-09-03 21:54:38 +08:00
Sam Samai
b7d4dd45c4 Clean up old file, add to README 2021-09-01 20:09:38 +10:00
Sam Samai
53bbf32229 Init Rocket example 2021-08-12 22:05:06 +10:00