From c1c7daa4c548e487869159eaea94a9fbc79dec0d Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Wed, 10 Jan 2018 14:42:46 -0500 Subject: [PATCH] LP#1730758: Stamping upgrade script for luri_vis_cache Signed-off-by: Kathy Lussier --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...XXX.function.luri_vis_cache.sql => 1085.function.luri_vis_cache.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.function.luri_vis_cache.sql => 1085.function.luri_vis_cache.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 93c8ef3963..d47b2b45b0 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 ('1084', :eg_version); -- jboyer/gmcharlt/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1085', :eg_version); -- miker/kmlussier CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.luri_vis_cache.sql b/Open-ILS/src/sql/Pg/upgrade/1085.function.luri_vis_cache.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.function.luri_vis_cache.sql rename to Open-ILS/src/sql/Pg/upgrade/1085.function.luri_vis_cache.sql index 8ac1383712..834202bc42 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.luri_vis_cache.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1085.function.luri_vis_cache.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('1085', :eg_version); + CREATE OR REPLACE FUNCTION asset.calculate_copy_visibility_attribute_set ( copy_id BIGINT ) RETURNS INT[] AS $f$ DECLARE copy_row asset.copy%ROWTYPE; -- 2.11.0