BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0738', :eg_version); -- senator/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0739', :eg_version); -- drizea/senator
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
'coust', 'description'),
'link', 'ccs')
-,( 'circ.holds.clear_shelf.no_capture_holds', 'holds',
- oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds',
- 'Bypass hold capture during clear shelf process',
- 'coust', 'label'),
- oils_i18n_gettext('circ.holds.clear_shelf.no_capture_holds',
- 'During the clear shelf process, avoid capturing new holds on cleared items.',
- 'coust', 'description'),
- 'bool', null)
-
,( 'circ.holds.default_estimated_wait_interval', 'holds',
oils_i18n_gettext('circ.holds.default_estimated_wait_interval',
'Default Estimated Wait',
--- /dev/null
+-- remove the Bypass hold capture during clear shelf process setting
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0739', :eg_version);
+
+
+DELETE FROM actor.org_unit_setting WHERE name = 'circ.holds.clear_shelf.no_capture_holds';
+DELETE FROM config.org_unit_setting_type_log WHERE field_name = 'circ.holds.clear_shelf.no_capture_holds';
+
+
+DELETE FROM config.org_unit_setting_type WHERE name = 'circ.holds.clear_shelf.no_capture_holds';
+
+COMMIT;