mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
docs: 📝 rudamentary sea-orm-cli instructions
This commit is contained in:
parent
58135c4fbf
commit
ce6b76ca96
1 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,15 @@
|
||||||
|
# Making migrations
|
||||||
|
|
||||||
|
- Install `sea-orm-cli`
|
||||||
|
```sh
|
||||||
|
cargo install sea-orm-cli
|
||||||
|
```
|
||||||
|
|
||||||
|
- Generate
|
||||||
|
```sh
|
||||||
|
sea-orm-cli migrate generate ****
|
||||||
|
```
|
||||||
|
|
||||||
# Running Migrator CLI
|
# Running Migrator CLI
|
||||||
|
|
||||||
- Generate a new migration file
|
- Generate a new migration file
|
||||||
|
|
Loading…
Reference in a new issue