FIX: extra-ddl can contribute to "drop-all" script, otherwise the drop all script is not appyable to h2:file (#1301)

This commit is contained in:
Roland Praml authored and Rob Bygrave committed 2018-03-02 11:48:35 +13:00
1 parent c1b022c123
commit 0c368ed7b3
6 files changed
+36 -7

No files matched your search

@@ -37,6 +37,8 @@ public class DdlScript {
protected String name;
@XmlAttribute(name = "platforms")
protected String platforms;
@XmlAttribute(name = "drop")
protected boolean drop;
/**
* Gets the value of the value property.
@@ -98,4 +100,18 @@ public class DdlScript {
this.platforms = value;
}
/**
* Return if this a drop script.
*/
public boolean isDrop() {
return drop;
}
/**
* Sets that this is a drop script.
*/
public void setDrop(boolean drop) {
this.drop = drop;
}
}