From 1488f22019cedc93f464a06749506b1a2e30a0bd Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 12 Jul 2018 09:39:36 -0400 Subject: [PATCH] Stamping upgrade script Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ....copy_state-update.sql => 1114.function.asset.copy_state-update.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.function.asset.copy_state-update.sql => 1114.function.asset.copy_state-update.sql} (94%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index c71db97812..5527d7d52a 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 ('1113', :eg_version); -- Dyrcona/csharp/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1114', :eg_version); -- JBoyer/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.asset.copy_state-update.sql b/Open-ILS/src/sql/Pg/upgrade/1114.function.asset.copy_state-update.sql similarity index 94% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.function.asset.copy_state-update.sql rename to Open-ILS/src/sql/Pg/upgrade/1114.function.asset.copy_state-update.sql index 8ddf6cb24a..f288fd7244 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.asset.copy_state-update.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1114.function.asset.copy_state-update.sql @@ -1,6 +1,6 @@ BEGIN; -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1114', :eg_version); CREATE OR REPLACE FUNCTION asset.copy_state (cid BIGINT) RETURNS TEXT AS $$ DECLARE -- 2.11.0