From 0c305b90af88984b933dcc90578efdc2c6106218 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 2 Mar 2015 14:05:52 +0000 Subject: [PATCH] LP#1155313: pin upgrade script to 0914 Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...-repair.sql => 0914.schema.redo_vandelay_merge_profile_sequence.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.lpad-number-repair.sql => 0914.schema.redo_vandelay_merge_profile_sequence.sql} (90%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 97288b311d..5e1a8923ba 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 ('0913', :eg_version); -- remington/bshum +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0914', :eg_version); -- dpearl/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lpad-number-repair.sql b/Open-ILS/src/sql/Pg/upgrade/0914.schema.redo_vandelay_merge_profile_sequence.sql similarity index 90% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lpad-number-repair.sql rename to Open-ILS/src/sql/Pg/upgrade/0914.schema.redo_vandelay_merge_profile_sequence.sql index 7b79fc42ae..2002771ded 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lpad-number-repair.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0914.schema.redo_vandelay_merge_profile_sequence.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('0914', :eg_version); + CREATE OR REPLACE FUNCTION evergreen.lpad_number_substrings( TEXT, TEXT, INT ) RETURNS TEXT AS $$ my $string = shift; # Source string my $pad = shift; # string to fill. Typically '0'. This should be a single character. -- 2.11.0