Fix index uniqueness (#4703)

This commit is contained in:
James Agnew 2023-03-30 14:49:07 -04:00 committed by GitHub
parent 1faf77dcc8
commit ccd1e94a47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
.dropIndex("20230325.1", "IDX_SP_COORDS_HASH");
version.onTable("HFJ_SPIDX_COORDS")
.addIndex("20230325.2", "IDX_SP_COORDS_HASH_V2")
.unique(true)
.unique(false)
.online(true)
.withColumns("HASH_IDENTITY", "SP_LATITUDE", "SP_LONGITUDE", "RES_ID", "PARTITION_ID");
}