Commit f88a85e0 authored by Steven Murray's avatar Steven Murray
Browse files

[catalogue] Second attempt: Added TAPE_IS_DISABLED_IDX and upgraded schema version to 3.1

parent 8c5c2fd5
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -184,6 +184,7 @@ CREATE TABLE TAPE(
CONSTRAINT TAPE_MEDIA_TYPE_FK FOREIGN KEY(MEDIA_TYPE_ID) REFERENCES MEDIA_TYPE(MEDIA_TYPE_ID)
);
CREATE INDEX TAPE_TAPE_POOL_ID_IDX ON TAPE(TAPE_POOL_ID);
CREATE INDEX TAPE_IS_DISABLED_IDX ON TAPE(IS_DISABLED);
CREATE TABLE MOUNT_POLICY(
MOUNT_POLICY_NAME VARCHAR(100) CONSTRAINT MOUNT_POLICY_MPN_NN NOT NULL,
ARCHIVE_PRIORITY UINT64TYPE CONSTRAINT MOUNT_POLICY_AP_NN NOT NULL,
......
......@@ -5,7 +5,7 @@ set(XROOTD_SSI_PROTOBUF_INTERFACE_VERSION "v0.0")
# Catalogue Schema Version
set(CTA_CATALOGUE_SCHEMA_VERSION_MAJOR 3)
set(CTA_CATALOGUE_SCHEMA_VERSION_MINOR 0)
set(CTA_CATALOGUE_SCHEMA_VERSION_MINOR 1)
# Shared object internal version (used in SONAME)
set(CTA_SOVERSION 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment