remove unnecessary index

This commit is contained in:
James Agnew 2019-10-15 19:07:37 -04:00
parent e727769988
commit 839f935401
2 changed files with 0 additions and 7 deletions

View File

@ -28,7 +28,6 @@ import java.io.Serializable;
@Entity
@Table(name = "TRM_CONCEPT_PC_LINK", indexes = {
@Index(name = "IDX_TRMCONCPCLNK_CSV", columnList = "CODESYSTEM_PID")
})
public class TermConceptParentChildLink implements Serializable {
private static final long serialVersionUID = 1L;

View File

@ -60,12 +60,6 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
protected void init410() {
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");
// HFJ_SEARCH
version.onTable("HFJ_SEARCH").addColumn("EXPIRY_OR_NULL").nullable().type(BaseTableColumnTypeTask.ColumnTypeEnum.DATE_TIMESTAMP);
version.onTable("HFJ_SEARCH").addColumn("NUM_BLOCKED").nullable().type(BaseTableColumnTypeTask.ColumnTypeEnum.INT);