feat(cli): add --no-execution option to the "up" command

...which can be used to log manually run migrations as successful or for baselining a database.
This commit is contained in:
Joakim Carlstein 2024-01-19 13:13:33 +01:00 committed by Joakim Carlstein
parent e71c318ea5
commit f515c8a854
7 changed files with 138 additions and 18 deletions

View file

@ -146,3 +146,8 @@ For example, if you want to use the `emigrate-reporter-somereporter` package, yo
### `--color`, `--no-color`
Force enable/disable colored output, option is passed to the reporter which should respect it.
### `--no-execution`
Mark the migrations as executed and successful without actually running them,
which is useful if you want to mark migrations as successful after running them manually