diff --git a/src/main/java/com/avaje/ebean/dbmigration/migration/AddHistoryTable.java b/src/main/java/com/avaje/ebean/dbmigration/migration/AddHistoryTable.java new file mode 100644 index 000000000..867f3ce6e --- /dev/null +++ b/src/main/java/com/avaje/ebean/dbmigration/migration/AddHistoryTable.java @@ -0,0 +1,87 @@ + +package com.avaje.ebean.dbmigration.migration; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *
Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="baseTable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="whenCreatedColumn" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "addHistoryTable")
+public class AddHistoryTable {
+
+ @XmlAttribute(name = "baseTable", required = true)
+ protected String baseTable;
+ @XmlAttribute(name = "whenCreatedColumn")
+ protected String whenCreatedColumn;
+
+ /**
+ * Gets the value of the baseTable property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBaseTable() {
+ return baseTable;
+ }
+
+ /**
+ * Sets the value of the baseTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBaseTable(String value) {
+ this.baseTable = value;
+ }
+
+ /**
+ * Gets the value of the whenCreatedColumn property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getWhenCreatedColumn() {
+ return whenCreatedColumn;
+ }
+
+ /**
+ * Sets the value of the whenCreatedColumn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWhenCreatedColumn(String value) {
+ this.whenCreatedColumn = value;
+ }
+
+}
diff --git a/src/main/java/com/avaje/ebean/dbmigration/migration/AlterHistoryTable.java b/src/main/java/com/avaje/ebean/dbmigration/migration/AlterHistoryTable.java
new file mode 100644
index 000000000..e57b52add
--- /dev/null
+++ b/src/main/java/com/avaje/ebean/dbmigration/migration/AlterHistoryTable.java
@@ -0,0 +1,60 @@
+
+package com.avaje.ebean.dbmigration.migration;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * Java class for anonymous complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="baseTable" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "alterHistoryTable")
+public class AlterHistoryTable {
+
+ @XmlAttribute(name = "baseTable", required = true)
+ protected String baseTable;
+
+ /**
+ * Gets the value of the baseTable property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBaseTable() {
+ return baseTable;
+ }
+
+ /**
+ * Sets the value of the baseTable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBaseTable(String value) {
+ this.baseTable = value;
+ }
+
+}