diff --git a/dashjoin-core/src/main/java/org/dashjoin/mapping/AbstractSource.java b/dashjoin-core/src/main/java/org/dashjoin/mapping/AbstractSource.java index 5d791989e..ac5c5ea7d 100644 --- a/dashjoin-core/src/main/java/org/dashjoin/mapping/AbstractSource.java +++ b/dashjoin-core/src/main/java/org/dashjoin/mapping/AbstractSource.java @@ -180,10 +180,11 @@ AbstractDatabase ddl(AbstractDatabase db, Map>> } } } else { - if ("Delete All".equals(oldData)) + if ("Delete All".equals(oldData)) { if (db.tables.get(table.getKey()) == null) throw new Exception("Table does not exist: " + table.getKey()); - db.delete(db.tables.get(table.getKey())); + db.delete(db.tables.get(table.getKey())); + } } } } finally {