FIx a migration task

This commit is contained in:
James Agnew 2019-10-15 18:15:53 -04:00
parent fdcf5f5d73
commit e727769988
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
Builder version = forVersion(VersionEnum.V4_1_0);
// TRM_CONCEPT_PC_LINK
version.onTable("TRM_CONCEPT_PC_LINK")
.dropIndex("FK_TERM_CONCEPTPC_CS");
version.onTable("TRM_CONCEPT_PC_LINK")
.addIndex("IDX_TRMCONCPCLNK_CSV").unique(false).withColumns("CODESYSTEM_PID");