I've created new Grails
project in IntellijIDEA 11.1.3 and try to run it.
When I open http://localhost:8080/application/dbdoc
(accessing default action of controller grails.plugin.databasemigration.DbdocController
), I keep getting message:
Changelog changelog.groovy not found
Although, file changelog.groovy
exists in file system of my project in folder ./grails-app/migrations
. I've generated it, using command:
grails dbm-create-changelog changelog.groovy
And now it has the following content:
databaseChangeLog = {
changeSet(author: "Edward (generated)", id: "changelog") {
// TODO add changes and preconditions here
}
}
What I need to do to make it work?