emigrate/.changeset/twelve-hairs-relate.md
Joakim Carlstein 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

346 B

@emigrate/cli
minor

Add support for passing relative paths to migration files as the --from and --to CLI options. This is very useful from terminals that support autocomplete for file paths. It also makes it possible to copy the path to a migration file from Emigrate's output and use that as either --from and --to directly.