From 986a2d011726f254e6a73f06382a76d91ce88018 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Wed, 21 Feb 2018 21:01:22 -0500 Subject: [PATCH] LP#1694058: Stamping upgrade script for duplicate holds coust Signed-off-by: Kathy Lussier --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...uplicate_holds_coust.sql => 1089.data.max_duplicate_holds_coust.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.max_duplicate_holds_coust.sql => 1089.data.max_duplicate_holds_coust.sql} (86%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 04bc915343..1d074f18c2 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 ('1088', :eg_version); -- miker/dyrcona +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1089', :eg_version); -- dyrcona/kmlussier CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.max_duplicate_holds_coust.sql b/Open-ILS/src/sql/Pg/upgrade/1089.data.max_duplicate_holds_coust.sql similarity index 86% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.max_duplicate_holds_coust.sql rename to Open-ILS/src/sql/Pg/upgrade/1089.data.max_duplicate_holds_coust.sql index 93e4a4fa7b..c4bf1a7f03 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.max_duplicate_holds_coust.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1089.data.max_duplicate_holds_coust.sql @@ -1,6 +1,6 @@ BEGIN; --- INSERT INTO config.upgrade_log (version, applied_to) VALUES ('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1089', :eg_version); -- Add the circ.holds.max_duplicate_holds org. unit setting type. INSERT into config.org_unit_setting_type -- 2.11.0