From b4af2fb31556d12119f11a106ba8f423d821c8b1 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 26 Jun 2014 15:33:30 -0400 Subject: [PATCH] LP#925776 Add placeholder script for backport to 2.5 for function staff uri visibility Signed-off-by: Ben Shum --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 083016c65b..e03ec5515b 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 ('0882', :eg_version); -- miker/bshum +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0883', :eg_version); -- miker/bshum CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql b/Open-ILS/src/sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql new file mode 100644 index 0000000000..60e5290481 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql @@ -0,0 +1,9 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0883', :eg_version); + +-- This is a placeholder for 0883 which will be a backported version of the +-- staff URI visibility function for rel_2_5. This script does nothing for +-- rel_2_6 and later. + +COMMIT; -- 2.11.0