Skip to content

Load datasource values from config file for flyway-sbt.

License

Notifications You must be signed in to change notification settings

chainkite/flyway-sbt-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flyway-sbt-ext

Load datasource values from config file for flyway-sbt in case you have different config file for different environments.

The artifact version will be always the same as flyway-sbt version from 4.0

Usage:

// project/plugin.sbt
addSbtPlugin("chainkite" % "flyway-sbt-ext" % "4.0")
// conf/application.conf
db {
  url = "jdbc:postgresql://localhost:5432/test"
  user = "test"
  password = "test"
  migration= path/to/flyway_migration_scripts_dir
}
sbt> flywayLoadConfig application db

Then you can continue using flyway sbt commands with configured datasource values.

FYI: flyway-sbt commands

About

Load datasource values from config file for flyway-sbt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages