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.
Work is currently being done by Tim Berglund of the August Technology Group.
Additional contributions by Erwin van Brandwijk, intern of 42bv Netherlands.
This code is released under the Apache Public License 2.0, just like Liquibase 2.0.
-
Support for the customChange. Using groovy code, liquibase changes and database SQL in a changeSet.
-
Support for the property tag.
-
Support for the modifySql 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.
-
Integration testing. Everything of note is unit-tested so far, but there must be tests which mutate an actual database (in-memory HSQL would work fine) and make assertions on its final state.
-
Deployment to Maven Central as soon as it's baked enough to ask people to use it.