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 ('0968', :eg_version); -- jstompro/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0969', :eg_version); -- jeffdavis/stompro
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0969', :eg_version); -- jeffdavis/stompro
+
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype)
+ VALUES
+ ('org.restrict_opt_to_depth',
+ 'sec',
+ oils_i18n_gettext('org.restrict_opt_to_depth',
+ 'Restrict patron opt-in to home library and related orgs at specified depth',
+ 'coust', 'label'),
+ oils_i18n_gettext('org.restrict_opt_to_depth',
+ 'Patrons at this library can only be opted-in at org units which are within the '||
+ 'library''s section of the org tree, at or below the depth specified by this setting. '||
+ 'They cannot be opted in at any other libraries.',
+ 'coust', 'description'),
+ 'integer');
+
+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
- ('org.restrict_opt_to_depth',
- 'sec',
- oils_i18n_gettext('org.restrict_opt_to_depth',
- 'Restrict patron opt-in to home library and related orgs at specified depth',
- 'coust', 'label'),
- oils_i18n_gettext('org.restrict_opt_to_depth',
- 'Patrons at this library can only be opted-in at org units which are within the '||
- 'library''s section of the org tree, at or below the depth specified by this setting. '||
- 'They cannot be opted in at any other libraries.',
- 'coust', 'description'),
- 'integer');
-
-COMMIT;
-