Grails 2.5: “dbm-gorm-diff” keeps generating the same changes over and over
问题 Firstly, we deleted the database and then ran our app with dbCreate="update" to create a nice working base. Then we ran: grails dbm-generate-changelog baseline.xml To create the script to generate our schema. We removed dbCreate=xxx from the DataSource.groovy and added the following in our Config.groovy : grails.plugin.databasemigration.updateOnStart = true grails.plugin.databasemigration.updateOnStartFileNames = ['changelog.groovy'] We then started our app, which created the DB, this time