From: Michele Morgan Date: Fri, 13 Aug 2021 19:36:49 +0000 (+0000) Subject: LP#1903749 - Add upgrade script for yaous X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=61b9dbc7d56045281d54a4b2f983dda1d88e8469;p=working%2FEvergreen.git LP#1903749 - Add upgrade script for yaous Adds the circ.holds.adjacent_target_while_stalling org unit setting. Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-holds-adjacent-target-while-stalling.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-holds-adjacent-target-while-stalling.sql new file mode 100644 index 0000000000..ac1a99bbc0 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-holds-adjacent-target-while-stalling.sql @@ -0,0 +1,24 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO config.org_unit_setting_type + (grp, name, datatype, label, description) +VALUES ( + 'holds', + 'circ.holds.adjacent_target_while_stalling', 'bool', + oils_i18n_gettext( + 'circ.holds.adjacent_target_while_stalling', + 'Allow adjacent copies to capture when Soft Stalling', + 'coust', + 'label' + ), + oils_i18n_gettext( + 'circ.holds.adjacent_target_while_stalling', + 'Allow adjacent copies at the targeted library to capture when Soft Stalling interval is set', + 'coust', + 'description' + ) +); + +COMMIT;