Leiningen Plugin for Flyway
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
example
src
test
.gitignore
LICENSE
README.md
project.clj
sample.project.clj

README.md

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)