From 61b9dbc7d56045281d54a4b2f983dda1d88e8469 Mon Sep 17 00:00:00 2001 From: Michele Morgan Date: Fri, 13 Aug 2021 19:36:49 +0000 Subject: [PATCH] LP#1903749 - Add upgrade script for yaous Adds the circ.holds.adjacent_target_while_stalling org unit setting. Signed-off-by: Michele Morgan --- ...g-circ-holds-adjacent-target-while-stalling.sql | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/XXXX.data.org-setting-circ-holds-adjacent-target-while-stalling.sql 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; -- 2.11.0