Liquibase! (A brief primer on database schema migrations in Grails) | Cantina Consulting - 0 views
-
Hendy Irawan on 09 Oct 10There is no migration system in vanilla grails (although possibly in Grails 2.0 …. ?) but there do exist several plugins that provide some migration functionality. As of this post I am aware of three: dbMigrate, Liquibase, and Autobase. Of these, I prefer Liquibase and cannot recommend it enough. While it uses XML to describe its changesets it is a mature open-source Java project that works flawlessly (and has some excellent documentation). I did not have much luck using DbMigrate and Autobase when including in an existing project… which is a shame as Autobase (which is built on Liquibase) uses a nice DSL syntax to build the migrations.