From 23a942869a7295db64a89513ab882e78342be6a6 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 20 Aug 2020 13:06:47 -0700 Subject: [PATCH] lp1771386 stamping DB upgrade for inactivate bib on merge Signed-off-by: Jane Sandberg --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...inactive_on_merge.sql => 1214.make_source_bib_inactive_on_merge.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{xxxx.make_source_bib_inactive_on_merge.sql => 1214.make_source_bib_inactive_on_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 5111c427aa..b1dacdd87f 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 ('1213', :eg_version); -- rhamby/berick +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1214', :eg_version); -- rhamby/willis/sandbergja CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.make_source_bib_inactive_on_merge.sql b/Open-ILS/src/sql/Pg/upgrade/1214.make_source_bib_inactive_on_merge.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/xxxx.make_source_bib_inactive_on_merge.sql rename to Open-ILS/src/sql/Pg/upgrade/1214.make_source_bib_inactive_on_merge.sql index c3f2718ad4..fb239fd967 100644 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.make_source_bib_inactive_on_merge.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1214.make_source_bib_inactive_on_merge.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1214', :eg_version); CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$ DECLARE -- 2.11.0