Add missing migration task

This commit is contained in:
jamesagnew 2020-02-20 05:39:39 -05:00
parent 6200cd2ddc
commit d39b54e711
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
version.onTable("HFJ_RESOURCE").dropColumn("20200218.1", "FORCED_ID_PID");
version.onTable("HFJ_RES_VER").dropColumn("20200218.2", "FORCED_ID_PID");
version.onTable("HFJ_RES_VER").addForeignKey("20200218.3", "FK_RESOURCE_HISTORY_RESOURCE").toColumn("RES_ID").references("HFJ_RESOURCE", "RES_ID");
version.onTable("HFJ_RES_VER").modifyColumn("20200220.1", "RES_ID").nonNullable().failureAllowed().withType(BaseTableColumnTypeTask.ColumnTypeEnum.LONG);
}
protected void init420() { // 20191015 - 20200217