Custom SQL in Groovy DSL for Liquibase?
groovy, liquibase, sql
Solution
There's also a direct implementation of the `<sql>` XML tag. It looks like this:
databaseChangeLog() {
changeSet(id:'monkey', author: 'tlberglund') {
sql "UPDATE monkey SET emotion='angry' WHERE id=3;"
}
}
Problem
Is it possible in the Groovy DSL for Liquibase to specify a custom SQL script directly? I know, that there is a tag for the XML format, but I have not found any information how to use it in the Groovy DSL.