From: Jason Stephenson Date: Wed, 27 Jun 2018 20:08:17 +0000 (-0400) Subject: LP 1758160: Bump version in upgrade_log. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5e5f1fdf12892b672ae9882d2fe7dd62c9c89419;p=working%2FEvergreen.git LP 1758160: Bump version in upgrade_log. Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 29f7a4a5af..4a061d8283 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,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 ('1111', :eg_version); --jeffdavis/gmcharlt/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1112', :eg_version); -- Bmagic/JBoyer/Dyrcona CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1112.schema.auch-source_circ-index.sql b/Open-ILS/src/sql/Pg/upgrade/1112.schema.auch-source_circ-index.sql new file mode 100644 index 0000000000..d4070368c8 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1112.schema.auch-source_circ-index.sql @@ -0,0 +1,12 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1112', :eg_version); + +-- Add an index to action.usr_circ_history (source_circ) to speed up aging circs and purging accounts + +CREATE INDEX action_usr_circ_history_source_circ_idx + ON action.usr_circ_history + USING btree + (source_circ); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql deleted file mode 100644 index 2f0673a194..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql +++ /dev/null @@ -1,12 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - --- Add an index to action.usr_circ_history (source_circ) to speed up aging circs and purging accounts - -CREATE INDEX action_usr_circ_history_source_circ_idx - ON action.usr_circ_history - USING btree - (source_circ); - -COMMIT;