migration v1 commit

This commit is contained in:
2022-09-11 00:18:08 +05:30
parent 2182026d49
commit 4c81efcd6d
5 changed files with 298 additions and 48 deletions

View File

@@ -1,5 +1,9 @@
# Running Migrator CLI
- Generate a new migration file
```sh
cargo run -- migrate generate MIGRATION_NAME
```
- Apply all pending migrations
```sh
cargo run