Extended DbMigrationTest to run on all platforms

This commit is contained in:
Roland Praml committed 2022-02-25 12:04:24 +01:00
1 parent 897a97d415
commit 95b1488aed
4 files changed
+184 -18

No files matched your search

@@ -23,4 +23,20 @@ public class EHistory {
@DbMigration(platforms = Platform.POSTGRES,
preAlter = "alter table ${table} alter column ${column} TYPE bigint USING (${column}::integer)")
Long testString;
public Long getTestString() {
return testString;
}
public void setTestString(Long testString) {
this.testString = testString;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
}
@@ -41,4 +41,45 @@ public class EHistory2 {
@Size(max = 20)
String newColumn;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getTestString() {
return testString;
}
public void setTestString(String testString) {
this.testString = testString;
}
public String getTestString2() {
return testString2;
}
public void setTestString2(String testString2) {
this.testString2 = testString2;
}
public String getTestString3() {
return testString3;
}
public void setTestString3(String testString3) {
this.testString3 = testString3;
}
public String getNewColumn() {
return newColumn;
}
public void setNewColumn(String newColumn) {
this.newColumn = newColumn;
}
}