Fixing up a couple of upgrade scripts that I merged this week.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
-SELECT evergreen.upgrade_deps_block_check('1006', :eg_version);
-
BEGIN;
+SELECT evergreen.upgrade_deps_block_check('1006', :eg_version);
+
-- This function is used to help clean up facet labels. Due to quirks in
-- MARC parsing, some facet labels may be generated with periods or commas
-- at the end. This will strip a trailing commas off all the time, and
-SELECT evergreen.upgrade_deps_block_check('1007', :eg_version);
-
BEGIN;
+SELECT evergreen.upgrade_deps_block_check('1007', :eg_version);
+
UPDATE config.record_attr_definition
SET description = oils_i18n_gettext('audience', 'Audience', 'crad', 'label')
WHERE description IS NULL