Update string length. Add migration
This commit is contained in:
parent
0a27b08aad
commit
a7e6813510
|
@ -99,6 +99,9 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
|
||||||
|
|
||||||
version.onTable("HFJ_BLK_EXPORT_JOB")
|
version.onTable("HFJ_BLK_EXPORT_JOB")
|
||||||
.modifyColumn("20210624.1","REQUEST").nonNullable().withType(ColumnTypeEnum.STRING, 1024);
|
.modifyColumn("20210624.1","REQUEST").nonNullable().withType(ColumnTypeEnum.STRING, 1024);
|
||||||
|
|
||||||
|
version.onTable("HFJ_IDX_CMP_STRING_UNIQ")
|
||||||
|
.modifyColumn("20210713.1","IDX_STRING").nonNullable().withType(ColumnTypeEnum.STRING, 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void init540() {
|
private void init540() {
|
||||||
|
|
|
@ -37,7 +37,7 @@ import javax.persistence.*;
|
||||||
})
|
})
|
||||||
public class ResourceIndexedCompositeStringUnique extends BasePartitionable implements Comparable<ResourceIndexedCompositeStringUnique> {
|
public class ResourceIndexedCompositeStringUnique extends BasePartitionable implements Comparable<ResourceIndexedCompositeStringUnique> {
|
||||||
|
|
||||||
public static final int MAX_STRING_LENGTH = 200;
|
public static final int MAX_STRING_LENGTH = 500;
|
||||||
public static final String IDX_IDXCMPSTRUNIQ_STRING = "IDX_IDXCMPSTRUNIQ_STRING";
|
public static final String IDX_IDXCMPSTRUNIQ_STRING = "IDX_IDXCMPSTRUNIQ_STRING";
|
||||||
public static final String IDX_IDXCMPSTRUNIQ_RESOURCE = "IDX_IDXCMPSTRUNIQ_RESOURCE";
|
public static final String IDX_IDXCMPSTRUNIQ_RESOURCE = "IDX_IDXCMPSTRUNIQ_RESOURCE";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue