From: Dan Wells Date: Wed, 10 Jun 2015 18:29:27 +0000 (-0400) Subject: LP#1447168 Stamping upgrade script for index on ash record X-Git-Tag: sprint4-merge-nov22~1367 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=42632768ec820f79171dc5aee31ba7db4e9b423d;p=working%2FEvergreen.git LP#1447168 Stamping upgrade script for index on ash record Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index e4345967da..a0a4a4e68e 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0917', :eg_version); -- gmcharlt/dyrcona +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0918', :eg_version); -- gmcharlt/dbwells CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0918.schema.index_ash_record.sql b/Open-ILS/src/sql/Pg/upgrade/0918.schema.index_ash_record.sql new file mode 100644 index 0000000000..8c92f26804 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0918.schema.index_ash_record.sql @@ -0,0 +1,9 @@ +-- index authority.simple_heading.record so that reingesting +-- authority records does not require a sequential scan of ash +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0918', :eg_version); + +CREATE INDEX authority_simple_heading_record_idx ON authority.simple_heading (record); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index_ash_record.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index_ash_record.sql deleted file mode 100644 index cd0aa25449..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index_ash_record.sql +++ /dev/null @@ -1,9 +0,0 @@ --- index authority.simple_heading.record so that reingesting --- authority records does not require a sequential scan of ash -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -CREATE INDEX authority_simple_heading_record_idx ON authority.simple_heading (record); - -COMMIT;