Skip to content

Commit

Permalink
0002748: the Table 'sym_trigger' can not be created on informix
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Sep 10, 2016
1 parent 96badda commit 5dc4fb6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public String beforeUpgrade(ISymmetricDialect symmetricDialect, String tablePref
Table triggerTable = desiredModel.findTable(tablePrefix + "_" + TableConstants.SYM_TRIGGER);
if (triggerTable != null) {
for (Column column : triggerTable.getColumns()) {
if (column.getMappedType().equals("LVARCHAR")) {
if (column.getMappedTypeCode() == Types.LONGVARCHAR) {
column.setJdbcTypeCode(Types.VARCHAR);
column.setMappedType("VARCHAR");
column.setMappedTypeCode(Types.VARCHAR);
Expand Down

0 comments on commit 5dc4fb6

Please sign in to comment.