From 28d18146ce075bc6f2ff015e9efd032dfbe9b746 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Wed, 23 Mar 2022 18:49:17 -0400 Subject: [PATCH] Stamping PG10+ upgrade script Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...resql-changes.sql => 1314.function.lp1937244-postgresql-changes.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.function.lp1937244-postgresql-changes.sql => 1314.function.lp1937244-postgresql-changes.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 7f52d01b1c..07fe6ccd7e 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 ('1313', :eg_version); -- alynn26/berick +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1314', :eg_version); -- Dyrcona/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.lp1937244-postgresql-changes.sql b/Open-ILS/src/sql/Pg/upgrade/1314.function.lp1937244-postgresql-changes.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.function.lp1937244-postgresql-changes.sql rename to Open-ILS/src/sql/Pg/upgrade/1314.function.lp1937244-postgresql-changes.sql index abcf9d3dc2..ec71ea01f9 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.lp1937244-postgresql-changes.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1314.function.lp1937244-postgresql-changes.sql @@ -1,6 +1,6 @@ BEGIN; ---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1314', :eg_version); CREATE OR REPLACE FUNCTION authority.generate_overlay_template (source_xml TEXT) RETURNS TEXT AS $f$ DECLARE -- 2.11.0