Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jul 13, 2022
1 parent d54ee23 commit c949a33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sea-orm-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ cargo run -- generate entity -u postgres://sea:sea@localhost/bakery -s public -o
```sh
cargo run -- migrate init
```
- Generate a new migration file
```sh
cargo run -- migrate generate --migration-name NAME_OF_MIGRATION
```
- Apply all pending migrations
```sh
cargo run -- migrate
Expand Down

0 comments on commit c949a33

Please sign in to comment.