dbdeploy-core.3.0M3.source-code.syb-ase_undo.ftl Maven / Gradle / Ivy
The newest version!
[#ftl]
[#-- @ftlvariable name="changeLogTableName" type="java.lang.String" --]
[#-- @ftlvariable name="scripts" type="java.util.List" --]
[#list scripts as script]
-- START UNDO OF CHANGE SCRIPT ${script}
${script.undoContent}
DELETE FROM ${changeLogTableName} WHERE change_number = ${script.id?c}
GO
COMMIT
GO
-- END UNDO OF CHANGE SCRIPT ${script}
[/#list]