From 852e650763ff4efa867a6640a458d7ed6b792ac9 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 4 Aug 2011 14:36:17 -0400 Subject: [PATCH] Stamped upgrade script for schema.circ_holds_history_repairs Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...history_repairs.sql => 0591.schema.circ_holds_history_repairs.sql} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.circ_holds_history_repairs.sql => 0591.schema.circ_holds_history_repairs.sql} (96%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 3b3654a9ac..b0991d1f41 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -86,7 +86,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 ('0590', :eg_version); -- scallender/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0591', :eg_version); -- berick/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.circ_holds_history_repairs.sql b/Open-ILS/src/sql/Pg/upgrade/0591.schema.circ_holds_history_repairs.sql similarity index 96% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.circ_holds_history_repairs.sql rename to Open-ILS/src/sql/Pg/upgrade/0591.schema.circ_holds_history_repairs.sql index ba663d2b8b..bb7502ddc5 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.circ_holds_history_repairs.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0591.schema.circ_holds_history_repairs.sql @@ -1,8 +1,8 @@ --- Evergreen DB patch XXXX.schema.circ_holds_history_repairs.sql +-- Evergreen DB patch 0591.schema.circ_holds_history_repairs.sql BEGIN; -- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('0591', :eg_version); CREATE OR REPLACE FUNCTION action.usr_visible_circs (usr_id INT) RETURNS SETOF action.circulation AS $func$ DECLARE -- 2.11.0