Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.26 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.26 KB

lein-flyway

CircleCI

Intro

Leiningen plugin for database migration tool flyway.

This plugin is alpha version, expecting defects.

Usage

Latest stable version

Clojars Project

aligned with flyway version 5.2.4+

Configuration

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}

Leiningen Tasks

lein flyway ${subtask}

And subtask includes following flyway aligned tasks,

  • clean
  • validate
  • migrate
  • baseline
  • repair
  • info

Contributors

See Github contributors

LICENSE

Copyright © Zhiheng Li

Licensed under the EPL (see the file LICENSE)