Skip to content

Commit

Permalink
0002845: Upgrade warning on node communication table
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmind-josh committed Oct 4, 2016
1 parent 350a540 commit 3cd43c2
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -68,6 +68,11 @@ public String beforeUpgrade(ISymmetricDialect symmetricDialect, String tablePref
if (currentModel.findTable(dataGapTableName) != null) {
engine.getSqlTemplate().update("delete from " + dataGapTableName);
}

String nodeCommunicationTable = tablePrefix + "_" + TableConstants.SYM_NODE_COMMUNICATION;
if (currentModel.findTable(nodeCommunicationTable) != null) {
engine.getSqlTemplate().update("delete from " + tablePrefix + "_" + TableConstants.SYM_NODE_COMMUNICATION);
}
}

if (engine.getDatabasePlatform().getName().equals(DatabaseNamesConstants.FIREBIRD) ||
Expand Down

0 comments on commit 3cd43c2

Please sign in to comment.