From: Galen Charlton Date: Wed, 28 Feb 2018 21:50:14 +0000 (-0500) Subject: LP#1661688: tweak schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=af3545816d23502107d426a3e3d70e3cf4a96934;p=Evergreen.git LP#1661688: tweak schema update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql b/Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql new file mode 100644 index 0000000000..4a4bb40cf1 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1104.data.hold_checkout_ou.sql @@ -0,0 +1,19 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1104', :eg_version); + +INSERT INTO config.org_unit_setting_type +( name, grp, label, description, datatype ) +VALUES + ('circ.clear_hold_on_checkout', + 'circ', + oils_i18n_gettext('circ.clear_hold_on_checkout', + 'Clear hold when other patron checks out item', + 'coust', 'label'), + oils_i18n_gettext('circ.clear_hold_on_checkout', + 'Default to cancel the hold when patron A checks out item on hold for patron B.', + 'coust', 'description'), + 'bool'); + +COMMIT; + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql deleted file mode 100644 index fa7b41d97a..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.hold_checkout.sql +++ /dev/null @@ -1,19 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.org_unit_setting_type -( name, grp, label, description, datatype ) -VALUES - ('circ.clear_hold_on_checkout', - 'circ', - oils_i18n_gettext('circ.clear_hold_on_checkout', - 'Clear hold when other patron checks out item', - 'coust', 'label'), - oils_i18n_gettext('circ.clear_hold_on_checkout', - 'Default to cancel the hold when patron A checks out item on hold for patron B.', - 'coust', 'description'), - 'bool'); - -COMMIT; -