java - Liquibase Rollback Custom SQL -
I can not understand how to rollback custom SQL within a change. Any ideas?
I want to do this:
& lt; ChangeSet author = "Charlie White" id = "15" runAlways = "false" runOnChange = "False" failOnError = "true" & gt; & Lt; SQL & gt; Include in `XXXX` (` CONFIG_ID`, `NAME`,` VALUE`) YYYY; & Lt; / SQL & gt; & Lt; Rollback & gt; Remove from 'XXXX' WHERE 'YYYY'; & Lt; / Rollback & gt; "RunOnChange =" false "failOnError =" true "& gt; & lt; SQL & gt;` XXXX` (`CONFIG_ID`,` NAME `YYYY '; & lt; / SQL & gt; YYYY; & lt; / SQL & gt; & lt; rollback & gt; & lt; sql & gt;' XXXX '
Thanks for the help.
Comments
Post a Comment