#557 - DDL - DB Migration refactor - remove drop.ddl and use pendingDrops.

This commit is contained in:
Robin Bygrave
2016-02-11 20:15:49 +13:00
parent 097552b8d3
commit 1bee6fcae5
22 changed files with 608 additions and 332 deletions
@@ -111,7 +111,7 @@ public class ModelDiff {
public ChangeSet getDropChangeSet() {
// put the changes into a ChangeSet
ChangeSet createChangeSet = new ChangeSet();
createChangeSet.setType(ChangeSetType.DROP);
createChangeSet.setType(ChangeSetType.PENDING_DROPS);
createChangeSet.getChangeSetChildren().addAll(dropChanges);
return createChangeSet;
}
@@ -156,6 +156,7 @@ public class ModelDiff {
}
}
baseModel.registerPendingHistoryDropColumns(newModel);
}
protected void addDropTable(MTable existingTable) {