Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
{
"tables": [
{
"tableName": "authority",
"fromModuleVersion": "22.1.0",
"withMetadata": true,
"withAuditing": false,
"withOptimisticLocking": "failOnConflict"
},
{
"tableName": "loan_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "material_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "locinstitution",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "loccampus",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "institutionId",
"targetTable": "locinstitution",
"tOps": "ADD"
}
]
},
{
"tableName": "loclibrary",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "campusId",
"targetTable": "loccampus",
"tOps": "ADD"
}
]
},
{
"tableName": "location",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "institutionId",
"targetTable": "locinstitution",
"tOps": "ADD"
},
{
"fieldName": "campusId",
"targetTable": "loccampus",
"tOps": "ADD"
},
{
"fieldName": "libraryId",
"targetTable": "loclibrary",
"tOps": "ADD"
}
],
"index": [
{
"fieldName": "primaryServicePoint",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
}
]
},
{
"tableName": "service_point",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
],
"index": [
{
"fieldName": "pickupLocation",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
}
]
},
{
"tableName": "service_point_user",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "userId",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "defaultServicePointId",
"targetTable": "service_point",
"tOps": "ADD"
}
]
},
{
"tableName": "identifier_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_relationship_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "contributor_type",
"withMetadata": false,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "contributor_name_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_type",
"withMetadata": false,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_format",
"withMetadata": false,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "nature_of_content_term",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "classification_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "electronic_access_relationship",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "statistical_code_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "statistical_code",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "code, statisticalCodeTypeId",
"tOps": "ADD"
},
{
"fieldName": "name",
"tOps": "ADD"
}
],
"foreignKeys": [
{
"fieldName": "statisticalCodeTypeId",
"targetTable": "statistical_code_type",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_status",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "code",
"tOps": "ADD"
}
]
},
{
"tableName": "mode_of_issuance",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "alternative_title_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "instance",
"fromModuleVersion": "19.2.0",
"withMetadata": true,
"withAuditing": true,
"withOptimisticLocking": "failOnConflictUnlessSuppressed",
"auditingTableName": "audit_instance",
"auditingFieldName": "record",
"customSnippetPath": "audit-delete-trigger.sql",
"foreignKeys": [
{
"fieldName": "instanceStatusId",
"targetTable": "instance_status",
"tOps": "ADD"
},
{
"fieldName": "modeOfIssuanceId",
"targetTable": "mode_of_issuance",
"tOps": "ADD"
},
{
"fieldName": "instanceTypeId",
"targetTable": "instance_type",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "hrid",
"tOps": "ADD"
},
{
"fieldName": "matchKey",
"tOps": "ADD"
}
],
"ginIndex": [
{
"fieldName": "identifiers",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
}
],
"index": [
{
"fieldName": "source",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "indexTitle",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "title",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "statisticalCodeIds",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "contributors",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "publication",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "staffSuppress",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "discoverySuppress",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "metadata.updatedDate",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
}
],
"fullTextIndex": [
{
"fieldName": "identifiers",
"arraySubfield" : "value",
"arrayModifiers": ["identifierTypeId"]
},
{
"fieldName": "invalidIsbn",
"sqlExpression" : "normalize_invalid_isbns(jsonb->'identifiers')",
"sqlExpressionQuery": "normalize_digits($)"
},
{
"fieldName": "isbn",
"sqlExpression" : "normalize_isbns(jsonb->'identifiers')",
"sqlExpressionQuery": "normalize_digits($)"
}
]
},
{
"tableName": "instance_relationship",
"withMetadata": true,
"foreignKeys": [
{
"fieldName": "superInstanceId",
"targetTable": "instance",
"tOps": "ADD"
},
{
"fieldName": "subInstanceId",
"targetTable": "instance",
"tOps": "ADD"
},
{
"fieldName": "instanceRelationshipTypeId",
"targetTable": "instance_relationship_type",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_source_marc",
"withMetadata": true,
"customSnippetPath": "instanceSourceMarc.sql"
},
{
"tableName": "ill_policy",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "call_number_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "holdings_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "authority_note_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "instance_note_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "holdings_note_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "item_note_type",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "item_damaged_status",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "holdings_records_source",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
}
]
},
{
"tableName": "holdings_record",
"fromModuleVersion": "19.2.0",
"withMetadata": true,
"withAuditing": true,
"withOptimisticLocking": "failOnConflictUnlessSuppressed",
"auditingTableName": "audit_holdings_record",
"auditingFieldName": "record",
"customSnippetPath": "audit-delete-trigger.sql",
"foreignKeys": [
{
"fieldName": "instanceId",
"targetTable": "instance",
"targetTableAlias": "instance",
"tableAlias" : "holdingsRecords",
"tOps": "ADD"
},
{
"fieldName": "permanentLocationId",
"targetTable": "location",
"tOps": "ADD"
},
{
"fieldName": "temporaryLocationId",
"targetTable": "location",
"tOps": "ADD"
},
{
"fieldName": "effectiveLocationId",
"targetTable": "location",
"tOps": "ADD"
},
{
"fieldName": "holdingsTypeId",
"targetTable": "holdings_type",
"tOps": "ADD"
},
{
"fieldName": "callNumberTypeId",
"targetTable": "call_number_type",
"tOps": "ADD"
},
{
"fieldName": "illPolicyId",
"targetTable": "ill_policy",
"tOps": "ADD"
},
{
"fieldName": "sourceId",
"targetTable": "holdings_records_source",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "hrid",
"tOps": "ADD"
}
],
"ginIndex": [
],
"index": [
{
"fieldName": "callNumber",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "callNumberAndSuffix",
"multiFieldNames": "callNumber, callNumberSuffix",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "fullCallNumber",
"multiFieldNames": "callNumberPrefix, callNumber, callNumberSuffix",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "discoverySuppress",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
}
],
"fullTextIndex": [
]
},
{
"tableName": "item",
"withMetadata": true,
"fromModuleVersion": "19.2.0",
"withAuditing": true,
"withOptimisticLocking": "failOnConflictUnlessSuppressed",
"auditingTableName": "audit_item",
"auditingFieldName": "record",
"customSnippetPath": "audit-delete-trigger.sql",
"foreignKeys": [
{
"fieldName": "holdingsRecordId",
"targetTable": "holdings_record",
"targetTableAlias" : "holdingsRecords",
"tableAlias": "item",
"tOps": "ADD"
},
{
"targetPath": ["holdingsRecordId", "instanceId"],
"targetTable": "instance",
"targetTableAlias": "instance",
"tableAlias": "item"
},
{
"fieldName": "permanentLoanTypeId",
"targetTable": "loan_type",
"tOps": "ADD"
},
{
"fieldName": "temporaryLoanTypeId",
"targetTable": "loan_type",
"tOps": "ADD"
},
{
"fieldName": "materialTypeId",
"targetTable": "material_type",
"tOps": "ADD"
},
{
"fieldName": "permanentLocationId",
"targetTable": "location",
"tOps": "ADD"
},
{
"fieldName": "temporaryLocationId",
"targetTable": "location",
"tOps": "ADD"
},
{
"fieldName": "effectiveLocationId",
"targetTable": "location",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "barcode",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "hrid",
"tOps": "ADD"
}
],
"index": [
{
"fieldName": "accessionNumber",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "status.name",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": true
},
{
"fieldName": "callNumberAndSuffix",
"multiFieldNames": "effectiveCallNumberComponents.callNumber, effectiveCallNumberComponents.suffix",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "fullCallNumber",
"multiFieldNames": "effectiveCallNumberComponents.prefix, effectiveCallNumberComponents.callNumber, effectiveCallNumberComponents.suffix",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "discoverySuppress",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "purchaseOrderLineIdentifier",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
},
{
"fieldName": "effectiveCallNumberComponents.callNumber",
"tOps": "ADD",
"caseSensitive": false,
"removeAccents": false
}
],
"ginIndex": [
],
"fullTextIndex": [
]
},
{
"tableName": "hrid_settings",
"fromModuleVersion": "25.1.0",
"withMetadata": true,
"withAuditing": false,
"customSnippetPath": "hridSettings.sql"
},
{
"tableName": "preceding_succeeding_title",
"fromModuleVersion": "19.0.0",
"withMetadata": true,
"foreignKeys": [
{
"fieldName": "precedingInstanceId",
"targetTable": "instance"
},
{
"fieldName": "succeedingInstanceId",
"targetTable": "instance"
}
],
"customSnippetPath": "alterPrecedingSucceedingTitle.sql"
},
{
"tableName": "reindex_job",
"withMetadata": false,
"withAuditing": false
},
{
"tableName": "bound_with_part",
"withMetadata": true,
"foreignKeys": [
{
"fieldName": "itemId",
"targetTable": "item",
"tOps": "ADD"
},
{
"fieldName": "holdingsRecordId",
"targetTable": "holdings_record",
"tOps": "ADD"
}
],
"uniqueIndex": [
{
"fieldName": "itemId, holdingsRecordId",
"tOps": "ADD"
}
]
},
{
"tableName": "notification_sending_error",
"withMetadata": false,
"withAuditing": false
},
{
"tableName": "iteration_job",
"withMetadata": false,
"withAuditing": false
},
{
"tableName": "related_instance_type",
"mode": "DELETE"
},
{
"tableName": "async_migration_job",
"withMetadata": false,
"withAuditing": false
},
{
"tableName": "authority_source_file",
"withMetadata": true,
"withAuditing": false,
"uniqueIndex": [
{
"fieldName": "name",
"tOps": "ADD"
},
{
"fieldName": "codes",
"tOps": "ADD"
},
{
"fieldName": "baseUrl",
"tOps": "ADD"
}
]
}
],
"scripts": [
{
"run":"after",
"snippetPath":"setPreviouslyHeldDefault.sql",
"fromModuleVersion":"20.2.0"
},
{
"run": "before",
"snippetPath": "populateRmbInternalIndex.sql",
"fromModuleVersion": "19.1.1"
},
{
"run": "before",
"snippetPath": "createIsbnFunctions.sql",
"fromModuleVersion": "19.2.0"
},
{
"run":"after",
"snippetPath":"setEffectiveHoldingsLocation.sql",
"fromModuleVersion":"25.0.0"
},
{
"run": "after",
"snippetPath": "dropLegacyItemEffectiveLocationTriggers.sql",
"fromModuleVersion": "19.5.0"
},
{
"run": "after",
"snippetPath": "populateRetainLeadingZeroesSetting.sql",
"fromModuleVersion": "19.5.0"
},
{
"run": "after",
"snippetPath": "populateEffectiveLocationForExistingItems.sql",
"fromModuleVersion": "17.1.0"
},
{
"run": "after",
"snippetPath": "populateEffectiveLocationForeignKey.sql",
"fromModuleVersion": "18.2.0"
},
{
"run": "after",
"snippetPath": "populateEffectiveCallNumberComponentsForExistingItems.sql",
"fromModuleVersion": "18.3.0"
},
{
"run": "after",
"snippetPath": "removeOldHridOperations.sql",
"fromModuleVersion": "17.1.0"
},
{
"run": "after",
"snippetPath": "instanceStatusUpdatedDateTrigger.sql",
"fromModuleVersion": "17.1.0"
},
{
"run": "after",
"snippetPath": "updateItemStatusDate.sql",
"fromModuleVersion": "19.2.0"
},
{
"run": "after",
"snippetPath": "alterHridSequences.sql",
"fromModuleVersion": "18.2.0"
},
{
"run": "after",
"snippetPath": "migrateItemCopyNumberToSingleValue.sql",
"fromModuleVersion": "19.0.0"
},
{
"run": "after",
"snippetPath": "renameModesOfIssuance.sql",
"fromModuleVersion": "19.0.0"
},
{
"run": "after",
"snippetPath": "migratePrecedingSucceedingTitles.sql",
"fromModuleVersion": "19.0.0"
},
{
"run": "after",
"snippetPath": "populateDiscoverySuppressIfNotSet.sql",
"fromModuleVersion": "19.0.0"
},
{
"run": "after",
"snippetPath": "oaipmh/createOaiPmhViewFunction.sql",
"fromModuleVersion": "19.3.1"
},
{
"run": "after",
"snippetPath": "removeOldPrecedingSucceedingTitles.sql",
"fromModuleVersion": "19.2.0"
},
{
"run": "after",
"snippetPath": "inventory-hierarchy/createRecordsViewFunction.sql",
"fromModuleVersion": "19.4.0"
},
{
"run": "after",
"snippetPath": "updateIllPolicyWillNotLend.sql",
"fromModuleVersion": "19.4.0"
},
{
"run": "after",
"snippetPath": "addIdentifierTypeCancelledSystemControlNumber.sql",
"fromModuleVersion": "19.4.0"
},
{
"run": "after",
"snippetPath": "inventory-hierarchy/addNullChecksToRecordsViewFunctions.sql",
"fromModuleVersion": "19.5.0"
},
{
"run": "after",
"snippetPath": "publication-period/publication-period-functions.sql",
"fromModuleVersion": "23.0.0"
},
{
"run": "after",
"snippetPath": "instance-hr-item/instance-hr-item-view.sql",
"fromModuleVersion": "23.0.0"
},
{
"run": "after",
"snippetPath": "inventory-hierarchy/addEffectiveHoldingsToItemsAndHoldingsView.sql",
"fromModuleVersion": "20.3.0"
},
{
"run": "after",
"snippetPath": "addInstanceFormatsAudioBelt.sql",
"fromModuleVersion": "20.3.0"
},
{
"run": "after",
"snippetPath": "dropLegacyItemEffectiveLocationFunctions.sql",
"fromModuleVersion": "21.1.0"
},
{
"run": "after",
"snippetPath": "addIdentifierTypesUpcIsmn.sql",
"fromModuleVersion": "21.1.0"
},
{
"run": "after",
"snippetPath": "inventory-hierarchy/addHoldingsIfItemsSuppressedItemsAndHoldingsView.sql",
"fromModuleVersion": "22.0.0"
},
{
"run": "after",
"snippetPath": "itemStatisticalCodeReferenceCheckTrigger.sql",
"fromModuleVersion": "22.1.0"
},
{
"run": "after",
"snippetPath": "statisticalCodeTypesReferenceCheckTrigger.sql",
"fromModuleVersion": "25.0.0"
},
{
"run": "after",
"snippetPath": "statisticalCodeIdReferenceCheckTrigger.sql",
"fromModuleVersion": "23.1.0"
},
{
"run": "after",
"snippetPath": "changeUUIDCastInGetStatisticalCodesFunction.sql",
"fromModuleVersion": "23.1.0"
},
{
"run": "after",
"snippetPath": "inventory-hierarchy/correctGetUpdatedInstanceIdsView.sql",
"fromModuleVersion": "23.1.0"
},
{
"run":"after",
"snippetPath":"dropCallNumberNormalizationFunctions.sql",
"fromModuleVersion":"24.0.0"
},
{
"run": "after",
"snippetPath": "createInstanceSetView.sql",
"fromModuleVersion": "25.0.0"
},
{
"run": "after",
"snippetPath": "instanceDeleteCascade.sql",
"fromModuleVersion": "25.0.0"
},
{
"run": "after",
"snippetPath": "addAuthoritySourceFiles.sql",
"fromModuleVersion": "25.0.1"
},
{
"run": "after",
"snippetPath": "updateLCNAFAuthoritySourceFile.sql",
"fromModuleVersion": "25.0.3"
},
{
"run": "after",
"snippetPath": "setDefaultMetadataForHrIdSettings.sql",
"fromModuleVersion": "25.1.0"
},
{
"run": "after",
"snippetPath": "convertSeriesAndSubjects.sql",
"fromModuleVersion": "26.0.0"
}
]
}