From 4fea74cfa28a260efcf0331c36991f250377162c Mon Sep 17 00:00:00 2001 From: "Graham, Gary" Date: Thu, 13 Dec 2018 00:49:17 -0500 Subject: [PATCH] Fix incorrectly grabbed table --- .../uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ce582631ce7..238d9920cdd 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 @@ -553,7 +553,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { hfjResource.dropColumn("RES_TEXT"); hfjResource.dropColumn("RES_ENCODING"); - Builder.BuilderWithTableName hfjResVer = version.onTable("HFJ_RESOURCE"); + Builder.BuilderWithTableName hfjResVer = version.onTable("HFJ_RES_VER"); version.startSectionWithMessage("Starting work on table: " + hfjResVer.getTableName()); hfjResVer.modifyColumn("RES_ENCODING") .nullable();