From 9238334caad810f09e53466e65a634a58e332931 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Mon, 16 Feb 2015 09:57:53 -0500 Subject: [PATCH] LP#1413592: DB upgrade script numbering Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...n_zero_balance.sql => 0907.data.avoid_lost_void_on_zero_balance.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXX.data.avoid_lost_void_on_zero_balance.sql => 0907.data.avoid_lost_void_on_zero_balance.sql} (88%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 2e7d76b5ef..aefb0f5044 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 ('0906', :eg_version); -- berick/bshum +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0907', :eg_version); -- miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXX.data.avoid_lost_void_on_zero_balance.sql b/Open-ILS/src/sql/Pg/upgrade/0907.data.avoid_lost_void_on_zero_balance.sql similarity index 88% rename from Open-ILS/src/sql/Pg/upgrade/XXX.data.avoid_lost_void_on_zero_balance.sql rename to Open-ILS/src/sql/Pg/upgrade/0907.data.avoid_lost_void_on_zero_balance.sql index 9934cc9da1..fa8c524bba 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXX.data.avoid_lost_void_on_zero_balance.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0907.data.avoid_lost_void_on_zero_balance.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0907', :eg_version); INSERT into config.org_unit_setting_type ( name, grp, label, description, datatype ) VALUES -- 2.11.0