Lp 1826759: Fix Database Upgrade Script
authorJason Stephenson <jason@sigio.com>
Mon, 27 Sep 2021 17:32:41 +0000 (13:32 -0400)
committerJason Stephenson <jason@sigio.com>
Mon, 27 Sep 2021 17:41:00 +0000 (13:41 -0400)
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 <jason@sigio.com>

Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1826759.items_out_typo.sql

index d6c7ba0..6c8febc 100644 (file)
@@ -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',