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 ('0643', :eg_version); -- miker/tsbere
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0644', :eg_version); -- senator/miker
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0644', :eg_version);
+
+INSERT into config.org_unit_setting_type (name, grp, label, description, datatype) VALUES
+( 'circ.holds.target_when_closed', 'circ',
+ oils_i18n_gettext('circ.holds.target_when_closed',
+ 'Target copies for a hold even if copy''s circ lib is closed',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.holds.target_when_closed',
+ 'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table).',
+ 'coust', 'description'),
+ 'bool'),
+( 'circ.holds.target_when_closed_if_at_pickup_lib', 'circ',
+ oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
+ 'Target copies for a hold even if copy''s circ lib is closed IF the circ lib is the hold''s pickup lib',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
+ 'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table) IF AND ONLY IF the copy''s circ lib is the same as the hold''s pickup lib.',
+ 'coust', 'description'),
+ 'bool')
+;
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT into config.org_unit_setting_type (name, grp, label, description, datatype) VALUES
-( 'circ.holds.target_when_closed', 'circ',
- oils_i18n_gettext('circ.holds.target_when_closed',
- 'Target copies for a hold even if copy''s circ lib is closed',
- 'coust', 'label'),
- oils_i18n_gettext('circ.holds.target_when_closed',
- 'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table).',
- 'coust', 'description'),
- 'bool'),
-( 'circ.holds.target_when_closed_if_at_pickup_lib', 'circ',
- oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
- 'Target copies for a hold even if copy''s circ lib is closed IF the circ lib is the hold''s pickup lib',
- 'coust', 'label'),
- oils_i18n_gettext('circ.holds.target_when_closed_if_at_pickup_lib',
- 'If this setting is true at a given org unit or one of its ancestors, the hold targeter will target copies from this org unit even if the org unit is closed (according to the actor.org_unit.closed_date table) IF AND ONLY IF the copy''s circ lib is the same as the hold''s pickup lib.',
- 'coust', 'description'),
- 'bool')
-;
-
-COMMIT;