dbdeploy-core.3.0M3.source-code.syb-ase_apply.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 CHANGE SCRIPT ${script}
${script.content}
INSERT INTO ${changeLogTableName} (change_number, complete_dt, applied_by, description)
VALUES (${script.id?c}, getdate(), user_name(), '${script.description}')
GO
COMMIT
GO
-- END CHANGE SCRIPT ${script}
[/#list]