From 66a470a28d133da13a60de76a56008aa1252adec Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 23 Mar 2012 17:03:47 -0400 Subject: [PATCH] Stamped upgrade for 'allow fines during closings' Signed-off-by: Bill Erickson --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...{XXXX.data.fine-when-closed.sql => 0692.data.fine-when-closed.sql} | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.fine-when-closed.sql => 0692.data.fine-when-closed.sql} (89%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index e826a0662a..02d4aa8934 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -86,7 +86,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 ('0691', :eg_version); -- senator/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0692', :eg_version); -- miker/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fine-when-closed.sql b/Open-ILS/src/sql/Pg/upgrade/0692.data.fine-when-closed.sql similarity index 89% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.fine-when-closed.sql rename to Open-ILS/src/sql/Pg/upgrade/0692.data.fine-when-closed.sql index e3989cd105..e55ee2fc14 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.fine-when-closed.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0692.data.fine-when-closed.sql @@ -1,3 +1,6 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0693', :eg_version); INSERT INTO config.org_unit_setting_type (name, label, description, grp, datatype) @@ -19,3 +22,4 @@ INSERT INTO config.org_unit_setting_type 'bool' ); +COMMIT; -- 2.11.0