Leiningen plugin for database migration tool flyway.
This plugin is alpha version, expecting defects.
aligned with flyway version 5.2.4+
lein-flyway tries to align with offical configuration properties, please refer to sample.project.clj for configuration details.
system variable has been supported to override configuration listed in sample.project.clj, you could follow as beblow:
url=jdbc:h2:file:/data/sample user=db_user password=secret lein flyway ${subtask}
lein flyway ${subtask}
And subtask includes following flyway aligned tasks,
- clean
- validate
- migrate
- baseline
- repair
- info
Copyright © Zhiheng Li
Licensed under the EPL (see the file LICENSE)