From 17948e4788293386ac14b8097df495c034f0a42b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 5 Aug 2019 20:45:28 -0400 Subject: [PATCH] LP#1722827: stamp DB update Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...ted_uris.sql => 1171.schema.trim_spaces_during_856_9_parsing.sql} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{xxxx.metabib.trim_spaces_from_located_uris.sql => 1171.schema.trim_spaces_during_856_9_parsing.sql} (98%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 242b41e0d2..894f540d46 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,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 ('1170', :eg_version); -- rhamby/csharp +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1171', :eg_version); -- rhamby/mstroup/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.metabib.trim_spaces_from_located_uris.sql b/Open-ILS/src/sql/Pg/upgrade/1171.schema.trim_spaces_during_856_9_parsing.sql similarity index 98% rename from Open-ILS/src/sql/Pg/upgrade/xxxx.metabib.trim_spaces_from_located_uris.sql rename to Open-ILS/src/sql/Pg/upgrade/1171.schema.trim_spaces_during_856_9_parsing.sql index 8eb227b6ac..7de64e2547 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.metabib.trim_spaces_from_located_uris.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1171.schema.trim_spaces_during_856_9_parsing.sql @@ -1,3 +1,7 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1171', :eg_version); + CREATE OR REPLACE FUNCTION biblio.extract_located_uris( bib_id BIGINT, marcxml TEXT, editor_id INT ) RETURNS VOID AS $func$ DECLARE uris TEXT[]; @@ -109,3 +113,4 @@ BEGIN END; $func$ LANGUAGE PLPGSQL; +COMMIT; -- 2.11.0