Can you give me an example of a groovy changeset using the modifyDataType
method?
I tried this:
databaseChangeLog = {
changeSet(author: "user", id: "5-1") {
modifyDataType(tableName: "test", columnName: "description4", newDataType: "int(11)")
}
}
But modifyDataType
is not recognized. I also tried modifyColumn
, but I get the same result.
The underlying question is: What kind of tags does the dsl support, and how are they used?