Skip to content

Commit c566907

Browse files
author
Alan
committed
Corrected Syb-ase apply/undo templates
1 parent 23ab556 commit c566907

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

dbdeploy-core/src/main/resources/syb-ase_apply.ftl

+3-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
${script.content}
99

1010
INSERT INTO ${changeLogTableName} (change_number, complete_dt, applied_by, description)
11-
VALUES (${script.id?c}, getdate(), user_name(), '${script.description}')
12-
GO
11+
VALUES (${script.id?c}, getdate(), user_name(), '${script.description}')${separator}${delimiter}
1312

14-
COMMIT
15-
GO
13+
COMMIT${separator}${delimiter}
1614

1715
-- END CHANGE SCRIPT ${script}
1816

19-
[/#list]
17+
[/#list]

dbdeploy-core/src/main/resources/syb-ase_undo.ftl

+3-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@
77

88
${script.undoContent}
99

10-
DELETE FROM ${changeLogTableName} WHERE change_number = ${script.id?c}
11-
GO
10+
DELETE FROM ${changeLogTableName} WHERE change_number = ${script.id?c}${separator}${delimiter}
1211

13-
COMMIT
14-
GO
12+
COMMIT${separator}${delimiter}
1513

1614
-- END UNDO OF CHANGE SCRIPT ${script}
1715

18-
[/#list]
16+
[/#list]

0 commit comments

Comments
 (0)