From 74ff801c5296a8aebfdf034a022b5ac79363c2d3 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Thu, 24 Mar 2022 17:32:20 -0400 Subject: [PATCH] Stamping upgrade script for inventory changes Signed-off-by: Mike Rylander --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...ma.asset.copy_inventory.sql => 1321.schema.asset.copy_inventory.sql} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.asset.copy_inventory.sql => 1321.schema.asset.copy_inventory.sql} (98%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index fc6c692886..477859966d 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 ('1320', :eg_version); -- jboyer/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1321', :eg_version); -- Dyrcona/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset.copy_inventory.sql b/Open-ILS/src/sql/Pg/upgrade/1321.schema.asset.copy_inventory.sql similarity index 98% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset.copy_inventory.sql rename to Open-ILS/src/sql/Pg/upgrade/1321.schema.asset.copy_inventory.sql index ff6af4544a..59af97b933 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.asset.copy_inventory.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1321.schema.asset.copy_inventory.sql @@ -1,6 +1,6 @@ BEGIN; --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); +SELECT evergreen.upgrade_deps_block_check('1321', :eg_version); CREATE TABLE asset.copy_inventory ( id SERIAL PRIMARY KEY, -- 2.11.0