Skip to content

Instantly share code, notes, and snippets.

@SpOOnman
Created November 28, 2012 13:42
Show Gist options
  • Save SpOOnman/4161378 to your computer and use it in GitHub Desktop.
Save SpOOnman/4161378 to your computer and use it in GitHub Desktop.
Use XMLs not groovy scripts with db migration plugin!
$ grails dbm-generate-changelog changelog.groovy
$ grails dbm-generate-changelog changelog.xml
grails.plugin.databasemigration.updateOnStart = true
grails.plugin.databasemigration.updateOnStartFileNames = ["changelog.groovy"]
// grails.plugin.databasemigration.updateOnStartFileNames = ["changelog.xml"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment