From 10a967a6175bf1785b9f21afde76d89085bfcb01 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 27 Oct 2022 21:17:50 -0400 Subject: [PATCH] LP#1982031: stamp DB update Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...data.org-setting-enc-desc.sql => 1349.data.org-setting-enc-desc.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.org-setting-enc-desc.sql => 1349.data.org-setting-enc-desc.sql} (90%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index ec69db0cbe..471f3d08ae 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 ('1348', :eg_version); -- berick/mmorgan/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1349', :eg_version); -- tlittle/gmonti/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql b/Open-ILS/src/sql/Pg/upgrade/1349.data.org-setting-enc-desc.sql similarity index 90% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql rename to Open-ILS/src/sql/Pg/upgrade/1349.data.org-setting-enc-desc.sql index 37841dc445..05c2f1c734 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1349.data.org-setting-enc-desc.sql @@ -1,5 +1,7 @@ BEGIN; +SELECT evergreen.upgrade_deps_block_check('1349', :eg_version); + UPDATE config.org_unit_setting_type SET label = 'Rollover encumbrances only', description = 'Rollover encumbrances only when doing fiscal year end. This makes money left in the old fund disappear, modeling its return to some outside entity.' -- 2.11.0