From addbd215721acdcc85f695d209005872d5eb2555 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 13 Oct 2011 15:59:32 -0400 Subject: [PATCH] Stamping upgrade for asset.merge_record_assets fix from dbs Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...e_record_assets.sql => 0639.schema.asset_merge_record_assets.sql} | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.asset_merge_record_assets.sql => 0639.schema.asset_merge_record_assets.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 6660630d86..f6b6ebeb20 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -57,7 +57,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0638'); -- miker +INSERT INTO config.upgrade_log (version) VALUES ('0639'); -- dbs/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset_merge_record_assets.sql b/Open-ILS/src/sql/Pg/upgrade/0639.schema.asset_merge_record_assets.sql similarity index 96% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset_merge_record_assets.sql rename to Open-ILS/src/sql/Pg/upgrade/0639.schema.asset_merge_record_assets.sql index 86756aaaae..ad268dadae 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset_merge_record_assets.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0639.schema.asset_merge_record_assets.sql @@ -1,12 +1,9 @@ -- Evergreen DB patch XXXX.schema.asset_merge_record_assets.sql -- --- FIXME: insert description of change, if needed -- BEGIN; -INSERT INTO config.upgrade_log (version) VALUES ('XXXX'); - --- FIXME: add/check SQL statements to perform the upgrade +INSERT INTO config.upgrade_log (version) VALUES ('0639'); CREATE OR REPLACE FUNCTION asset.merge_record_assets( target_record BIGINT, source_record BIGINT ) RETURNS INT AS $func$ DECLARE -- 2.11.0