Skip to content

metaphor/lein-flyway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)