From 5e9c7d216dc58f24b16b383c88e27426933296c8 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Thu, 22 Mar 2018 19:36:19 -0400 Subject: [PATCH] LP#1731960: Stamping upgrade script for preserve book bags on bib merge Signed-off-by: Kathy Lussier --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...on_bib_merge.sql => 1107.schema.preserve_book_bags_on_bib_merge.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{xxxx.schema.preserve_book_bags_on_bib_merge.sql => 1107.schema.preserve_book_bags_on_bib_merge.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 19972c686a..bdb73b1e50 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 ('1106', :eg_version); --dbwells/jeff +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1107', :eg_version); --rhamby/kmlussier CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.preserve_book_bags_on_bib_merge.sql b/Open-ILS/src/sql/Pg/upgrade/1107.schema.preserve_book_bags_on_bib_merge.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/xxxx.schema.preserve_book_bags_on_bib_merge.sql rename to Open-ILS/src/sql/Pg/upgrade/1107.schema.preserve_book_bags_on_bib_merge.sql index 4fe99ac081..3f83f74de5 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.preserve_book_bags_on_bib_merge.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1107.schema.preserve_book_bags_on_bib_merge.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1107', :eg_version); CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$ DECLARE -- 2.11.0