0faebbe647
docs(cli): document the relative file path support for the "remove" command
2024-01-26 16:09:49 +01:00
9109238b86
feat(cli): improve the "up" commands --from and --to options
...
The given values can either be migration names or relative paths to migration files.
The given migration must exist to avoid accidentally running migrations that wasn't intended to run.
2024-01-26 09:13:03 +01:00
a4da353d5a
feat(cli): add graceful process abort
...
Using an AbortSignal and Promise.race we abandon running migrations that take longer to complete after the process is aborted than the given abortRespite period
2024-01-22 11:30:06 +01:00
f515c8a854
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.
2024-01-19 13:43:59 +01:00
9ef0fa2776
feat(cli): add --from and --to options to limit what migrations to run
2024-01-19 13:43:59 +01:00
02c142e39a
feat(up): add --limit option to limit the number of migrations to run
2024-01-19 13:43:59 +01:00
e6e4433018
feat(cli): rename extension short option from -e to -x
...
BREAKING CHANGE: if you've been using the `-e` short option you should change it to `-x` or use the long option name `--extension`
2023-12-20 09:27:43 +01:00
7bae76f496
docs: include Deno usage instructions in the documentation
2023-12-19 15:40:05 +01:00
0b78d5cf32
refactor(cli): rename the emigrate package to @emigrate/cli to be more in line with other tools
2023-11-15 14:42:10 +01:00