Merge branch 'master' of github.com:ebean-orm/ebean

This commit is contained in:
Rob Bygrave committed 2022-03-23 22:29:16 +13:00
commit 79213e7194
135 files changed
+1064 -372

No files matched your search

@@ -0,0 +1,35 @@
package misc.migration.v1_0;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import io.ebean.annotation.EnumValue;
import io.ebean.annotation.Index;
// table with upper and lower case letters
@Table(name = "`migtest_QuOtEd`")
@Entity
public class EQuoted {
public enum Status {
@EnumValue("N")
NEW,
@EnumValue("A")
ACTIVE,
@EnumValue("I")
INACTIVE,
}
@Id
private String id;
@Index
private Status status1;
@Index(unique = true)
private Status status2;
}
@@ -0,0 +1,35 @@
package misc.migration.v1_2;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import io.ebean.annotation.EnumValue;
import io.ebean.annotation.Index;
//table with upper and lower case letters
@Table(name = "`migtest_QuOtEd`")
@Entity
public class EQuoted {
public enum Status {
@EnumValue("N")
NEW,
@EnumValue("A")
ACTIVE,
@EnumValue("I")
INACTIVE,
}
@Id
private String id;
@Index
private Status status1;
@Index(unique = true)
private Status status2;
}