mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-14 06:45:21 +00:00
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:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user