Skip to content

Commit 7d987b3

Browse files
GuillaumeGomezJoshua Nelson
authored and
Joshua Nelson
committed
Add information on how to go back to a previous migration state
1 parent 1ab2ba7 commit 7d987b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,12 @@ cargo run -- database blacklist add <CRATE_NAME>
215215
cargo run -- database blacklist remove <CRATE_NAME>
216216
```
217217

218+
If you want to revert to a precise migration, you can run:
219+
220+
```sh
221+
cargo run -- database migrate <migration number>
222+
```
223+
218224
#### `daemon` subcommand
219225

220226
```sh

0 commit comments

Comments
 (0)