From c8dd43e9a3efd26e0439fee7f3d97dec248e970a Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Wed, 19 Aug 2015 13:34:47 -0400 Subject: [PATCH] LP 1479110: Stamping Upgrade Script for Negative Balance Settings Signed-off-by: Jason Stephenson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...tions.sql => 0932.data.update_negative_balance_OUS_descriptions.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.update_negative_balance_OUS_descriptions.sql => 0932.data.update_negative_balance_OUS_descriptions.sql} (96%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 07aa790274..ec4282523b 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 ('0931', :eg_version); -- berick/kmlussier +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0932', :eg_version); -- kmlussier/dyrcona CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.update_negative_balance_OUS_descriptions.sql b/Open-ILS/src/sql/Pg/upgrade/0932.data.update_negative_balance_OUS_descriptions.sql similarity index 96% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.update_negative_balance_OUS_descriptions.sql rename to Open-ILS/src/sql/Pg/upgrade/0932.data.update_negative_balance_OUS_descriptions.sql index acfa2d002c..280563ba4a 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.update_negative_balance_OUS_descriptions.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0932.data.update_negative_balance_OUS_descriptions.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0932', :eg_version); UPDATE config.org_unit_setting_type SET description = 'Default setting to prevent negative balances (refunds) on circulation related bills. Set to "true" to prohibit negative balances at all times or, when used in conjunction with an interval setting, to prohibit negative balances after a set period of time.' -- 2.11.0