emigrate

The modern, modular and flexible migration tool for any database

MIT License

Downloads
319
Stars
2
Committers
3

Bot releases are visible (Hide)

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Minor Changes

  • a4da353: Handle the new onAbort method

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Minor Changes

  • a4da353: Handle process interruptions gracefully, e.g. due to receiving a SIGINT or SIGTERM signal. If a migration is currently running when the process is about to shutdown it will have a maximum of 10 more seconds to finish before being deserted (there's no way to cancel a promise sadly, and many database queries are not easy to abort either). The 10 second respite length can be customized using the --abort-respite CLI option or the abortRespite config.

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Minor Changes

  • f515c8a: Add support for the --no-execution option to the "up" command to be able to log migrations as successful without actually running them. Can for instance be used for baselining a database or logging manually run migrations as successful.
  • 9ef0fa2: Add --from and --to CLI options to control which migrations to include or skip when executing migrations.
  • 02c142e: Add --limit option to the "up" command, for limiting the number of migrations to run

Patch Changes

  • bf4d596: Clarify which cli options that needs parameters
  • 98adcda: Use better wording in the header in the console output from the default reporter
emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

  • 73a8a42: Support stored migration histories that have only stored the migration file names without file extension and assume it's .js files in that case. This is to be compatible with a migration history generated by Immigration.
emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Minor Changes

  • b083e88: Upgrade cosmiconfig to 9.0.0
emigrate - @emigrate/[email protected]

Published by joakimbeng 9 months ago

Patch Changes

  • 83dc618: Remove the --enable-source-maps flag from the shebang for better NodeJS compatibility
emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Minor Changes

  • 9a605a8: Add support for loading TypeScript migration files in the default loader
  • 9a605a8: Add a guide for running migration files written in TypeScript to the documentation
emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Minor Changes

  • f9a16d8: Add color option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it)
emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Minor Changes

  • 9f91bdc: Add support for the --import option to import modules/packages before any command is run. This can for instance be used to load environment variables using the dotenv package with --import dotenv/config.
  • f9a16d8: Add color option to the CLI and configuration file, which is used to force enable/disable color output from the reporter (the option is passed to the chosen reporter which should respect it)
  • e6e4433: BREAKING CHANGE: Rename the extension short CLI option from -e to -x in preparation for an upcoming option that will take its place

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 10 months ago

Patch Changes