From: Mike Rylander Date: Thu, 11 Jul 2013 17:09:11 +0000 (-0400) Subject: Stamping hold-cancel-via-sip upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=357b6ca85f240b249f393cc24c44dbbccba75acd;p=evergreen%2Fmasslnc.git Stamping hold-cancel-via-sip upgrade script Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 37a0633ff9..35c130bb1a 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 ('0805', :eg_version); -- bshum/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0806', :eg_version); -- berick/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0806.data.hold_cancel_via_sip.sql b/Open-ILS/src/sql/Pg/upgrade/0806.data.hold_cancel_via_sip.sql new file mode 100644 index 0000000000..92fed7b022 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0806.data.hold_cancel_via_sip.sql @@ -0,0 +1,9 @@ +BEGIN; + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('0806', :eg_version); + +INSERT INTO action.hold_request_cancel_cause (id,label) + VALUES (7,'Patron via SIP'); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hold_cancel_via_sip.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hold_cancel_via_sip.sql deleted file mode 100644 index fcf1783261..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.hold_cancel_via_sip.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - --- check whether patch can be applied --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO action.hold_request_cancel_cause (id,label) - VALUES (7,'Patron via SIP'); - -COMMIT;