From: Galen Charlton Date: Fri, 28 Oct 2022 01:17:50 +0000 (-0400) Subject: LP#1982031: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=10a967a6175bf1785b9f21afde76d89085bfcb01;p=evergreen%2Fpines.git LP#1982031: stamp DB update Signed-off-by: Galen Charlton --- 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/1349.data.org-setting-enc-desc.sql b/Open-ILS/src/sql/Pg/upgrade/1349.data.org-setting-enc-desc.sql new file mode 100644 index 0000000000..05c2f1c734 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1349.data.org-setting-enc-desc.sql @@ -0,0 +1,12 @@ +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.' + WHERE name = 'acq.fund.allow_rollover_without_money' + AND label = 'Allow funds to be rolled over without bringing the money along' + AND description = 'Allow funds to be rolled over without bringing the money along. This makes money left in the old fund disappear, modeling its return to some outside entity.'; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql deleted file mode 100644 index 37841dc445..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-enc-desc.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - -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.' - WHERE name = 'acq.fund.allow_rollover_without_money' - AND label = 'Allow funds to be rolled over without bringing the money along' - AND description = 'Allow funds to be rolled over without bringing the money along. This makes money left in the old fund disappear, modeling its return to some outside entity.'; - -COMMIT;