We’ve been working with Grails for a while and my Team Lead raised some questions about the Grails ORM (GORM):
- How do we maintain the database schema once we have moved to production?
- Can we update the database schema with Grails?
- If the schema is updated, will the changes be automatically reflected / does the framework take care of this?
- Is there any plugin for Grails that will allow us to update the schema without headaches?
I recently released the official Grails plugin for database migrations – see http://grails.org/plugin/database-migration and the docs at http://grails-plugins.github.com/grails-database-migration/docs/manual/index.html
I’m working with the author of Liquibase on this, so the older liquibase plugin is now deprecated and the new one should be used since it uses the latest version of Liquibase (2.0) and is officially supported by SpringSource. See http://blog.liquibase.org/2011/01/new-standard-liquibase-plugin-grails-database-migration.html for his announcement.
Ask usage questions on the Grails User mailing list (signup from http://grails.org/Mailing+lists) or the new plugin forum at http://grails-plugins.847840.n3.nabble.com/ or email the author directly 🙂