Liquibase with DSL groovy migrations!
Groovy
Switch branches/tags
Nothing to show
Pull request Compare This branch is 105 commits behind tlberglund:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
README.md
build.gradle
howto.md
liquibase.gradle

README.md

Groovy Liquibase

A pluggable parser for Liquibase that allows the creation of changelogs in a Groovy DSL, rather than hurtful XML. If this DSL isn't reason enough to adopt Liquibase, then there is no hope for you.

Presently a work in progress. The project aim is to create as close a match for the standard XML format and the Grails Database MigrationsPlugin as possible, such that migration back and forth is easy and very little new documentation should be necessary.

A sample Gradle build file, liquibase.gradle, is provided as a convenience means of executing Liquibase commands using the Groovy DSL. It is not intended to be a long-term plugin solution.

Author(s)

Work is currently being done by Tim Berglund of the August Technology Group.

Additional contributions by Erwin van Brandwijk, intern of 42bv Netherlands.

License

This code is released under the Apache Public License 2.0, just like Liquibase 2.0.

TODOs

  • Support for the customChange. Using groovy code, liquibase changes and database SQL in a changeSet.

  • Support for the property tag.

  • Support for extensions. modifyColumn is probably a good place to start.

  • Proper testing of validCheckSum under changeSet. It's implemented, but I have not tested it properly.

  • Deployment to Maven Central as soon as it's baked enough to ask people to use it.