From 4551f3b913c5d8567535c30d4449dd277179976f Mon Sep 17 00:00:00 2001 From: Michele Morgan Date: Fri, 25 Feb 2022 16:30:12 -0500 Subject: [PATCH] LP#1482757: stamp upgrade script Signed-off-by: Michele Morgan --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...t_located_uris.sql => 1311.function.biblio.extract_located_uris.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.function.biblio.extract_located_uris.sql => 1311.function.biblio.extract_located_uris.sql} (99%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 2baf15cc15..9bc7e4172c 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 ('1309', :eg_version); -- malexander/willisb/sandbergja +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1311', :eg_version); -- miker/Dyrcona/jvwoolf/mmorgan CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql b/Open-ILS/src/sql/Pg/upgrade/1311.function.biblio.extract_located_uris.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql rename to Open-ILS/src/sql/Pg/upgrade/1311.function.biblio.extract_located_uris.sql index edcb152494..35e1128408 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1311.function.biblio.extract_located_uris.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('1311', :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[]; -- 2.11.0