LP#925776 Add placeholder script for backport to 2.5 for function staff uri visibility
authorBen Shum <bshum@biblio.org>
Thu, 26 Jun 2014 19:33:30 +0000 (15:33 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 26 Jun 2014 19:37:30 +0000 (15:37 -0400)
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0883.function.staff-uri-visibility-2.5.sql [new file with mode: 0644]

index 083016c..e03ec55 100644 (file)
@@ -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 (file)
index 0000000..60e5290
--- /dev/null
@@ -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;