From b9f8c5bcd24ccbda14210d9700d3404cb78ede16 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Mon, 10 Mar 2014 12:55:04 -0400 Subject: [PATCH] LP1284864 - stamping upgrade for deleted metarecord function fixing Signed-off-by: Ben Shum --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...stituents.sql => 0872.functions.metarecord-deleted-constituents.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.functions.metarecord-deleted-constituents.sql => 0872.functions.metarecord-deleted-constituents.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 dfcbbcde31..688d9b01cb 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 ('0871', :eg_version); -- berick/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0872', :eg_version); -- miker/bshum CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.functions.metarecord-deleted-constituents.sql b/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.functions.metarecord-deleted-constituents.sql rename to Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql index ab23ff58d1..b32c4b2620 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.functions.metarecord-deleted-constituents.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0872.functions.metarecord-deleted-constituents.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0872', :eg_version); CREATE OR REPLACE FUNCTION metabib.remap_metarecord_for_bib( bib_id BIGINT, fp TEXT, bib_is_deleted BOOL DEFAULT FALSE, retain_deleted BOOL DEFAULT FALSE ) RETURNS BIGINT AS $func$ DECLARE -- 2.11.0