Skip to content

mknittig/play-liquibase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I prefer Liquibase DB evolutions to play 2.0 Evolutions mechanism
This is simple play 2.1 plugin for liquibase usage with Scala 2.10.x.

Suppose main script files for all DBs used are at conf/liquibase/--dbName--/modules.xml

Use contexts in your scripts to manage test and prod data and schema. Available contexts are:
 1. "test" - for test mode
 2. "dev" - for dev mode
 3. "prod" - for production mode

In dev and production mode use applyLiquibase.<dbName>=true properties to apply scripts.

Simply publish-local with sbt and add dependency to your play 2.1 project "play" % "play-liquibase_2.10" % "1.0" and add the following to your settings:
resolvers += Resolver.file("Local repo", Path.userHome / ".ivy2/local")(Resolver.ivyStylePatterns)

About

Liquibase plugin for play framework 2.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%