#migration #database


Generic interface and CLI application for managing any kind of migrations

2 unstable releases

0.2.0 Aug 25, 2021
0.1.0 Aug 16, 2020

#2099 in Development tools

40 downloads per month


968 lines

See the crate's docs for more details.


migrate CLI entrypoint

The CLI is provided with MigrateCli type that parses the command line arguments and orchestrates the execution of migrations.

It servers as a CLI wrapper over migrate_core crate, which is the entrypoint for programmatic access of the API.

The CLI should be fed the migrate_core::PlanBuilder with the migrations specific for particular use case and the CLI will only control what migrations will be executed and in which mode.

See [MigrateCli::run()] method and the examples/ folder for more details.


~62K SLoC