From: Jason Stephenson Date: Mon, 27 Sep 2021 17:32:41 +0000 (-0400) Subject: Lp 1826759: Fix Database Upgrade Script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c5db166b7e8834a69b7937e9a2024f8138309624;p=evergreen%2Fpines.git Lp 1826759: Fix Database Upgrade Script Remove 2 extraneous updates, add a blank line between the remaining updates, and add a placeholder the upgrade_deps_block_check(). Signed-off-by: Jason Stephenson --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1826759.items_out_typo.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1826759.items_out_typo.sql index d6c7ba05ed..6c8febcea0 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1826759.items_out_typo.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1826759.items_out_typo.sql @@ -1,15 +1,7 @@ BEGIN; -UPDATE config.org_unit_setting_type - SET description = oils_i18n_gettext('ui.circ.show_billing_tab_on_bills', - 'If enabled and a patron has outstanding bills and the alert page is not required, show the billing tab by default, instead of the checkout tab, when a patron is loaded', - 'coust', 'description') - WHERE name = 'ui.circ.show_billing_tab_on_bills'; -UPDATE config.org_unit_setting_type - SET description = oils_i18n_gettext('ui.circ.show_billing_tab_on_bills', - 'If enabled and a patron has outstanding bills and the alert page is not required, show the billing tab by default, instead of the checkout tab, when a patron is loaded', - 'coust', 'description') - WHERE name = 'ui.circ.show_billing_tab_on_bills'; +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + UPDATE config.org_unit_setting_type SET description = oils_i18n_gettext( 'ui.circ.items_out.longoverdue', @@ -24,6 +16,7 @@ UPDATE config.org_unit_setting_type 'description' ) WHERE name = 'ui.circ.items_out.longoverdue'; + UPDATE config.org_unit_setting_type set description = oils_i18n_gettext( 'ui.circ.items_out.lost', @@ -38,6 +31,7 @@ UPDATE config.org_unit_setting_type 'description' ) WHERE name = 'ui.circ.items_out.lost'; + UPDATE config.org_unit_setting_type set description = oils_i18n_gettext( 'ui.circ.items_out.claimsreturned',