From 57f5c10bcaab62ea311a3d81b499397da1131c15 Mon Sep 17 00:00:00 2001 From: Tadgh Date: Tue, 7 Jul 2020 07:56:43 -0700 Subject: [PATCH] Add migration for MPI Score/TargetType --- .../fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java b/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java index 67789986d8e..e3dc210c2c5 100644 --- a/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java +++ b/hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java @@ -126,6 +126,11 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { Builder.BuilderWithTableName pkgVerMod = version.onTable("NPM_PACKAGE_VER"); pkgVerMod.modifyColumn("20200629.1", "PKG_DESC").nullable().withType(ColumnTypeEnum.STRING, 200); pkgVerMod.modifyColumn("20200629.2", "DESC_UPPER").nullable().withType(ColumnTypeEnum.STRING, 200); + + //EMPI Target Type + Builder.BuilderWithTableName empiLinkAdd = version.onTable("MPI_LINK"); + empiLinkAdd.addColumn("20200707.1","TARGET_TYPE").nullable().type(ColumnTypeEnum.INT); + empiLinkAdd.addColumn("20200707.2","SCORE").nullable().type(ColumnTypeEnum.FLOAT); } protected void init510_20200610() {