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();