From: Galen Charlton Date: Fri, 28 Oct 2022 01:15:13 +0000 (-0400) Subject: LP#1982031: (follow-up) corrections to DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=47d7294f6582dddfaa2048b770cd53908a8b08c5;p=Evergreen.git LP#1982031: (follow-up) corrections to DB update - fix syntax error - update the label and description only on exact match with the legacy value; this prevents overwritting any local tweaking of the library setting Signed-off-by: Galen Charlton --- 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 index abdb8a70cb..37841dc445 100644 --- 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 @@ -1,8 +1,10 @@ BEGIN; UPDATE config.org_unit_setting_type - SET label = 'Rollover encumbrances only' - SET 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'; + 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; \ No newline at end of file +COMMIT;