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 ('1010', :eg_version); -- csharp/jeff/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1011', :eg_version); -- Dyrcona/kmlussier
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1011', :eg_version);
+
+INSERT INTO config.org_unit_setting_type
+ (name, grp, label, description, datatype)
+ VALUES
+ ('circ.in_house_use.copy_alert',
+ 'circ',
+ oils_i18n_gettext('circ.in_house_use.copy_alert',
+ 'Display copy alert for in-house-use',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.in_house_use.copy_alert',
+ 'Display copy alert for in-house-use',
+ 'coust', 'description'),
+ 'bool'),
+ ('circ.in_house_use.checkin_alert',
+ 'circ',
+ oils_i18n_gettext('circ.in_house_use.checkin_alert',
+ 'Display copy location checkin alert for in-house-use',
+ 'coust', 'label'),
+ oils_i18n_gettext('circ.in_house_use.checkin_alert',
+ 'Display copy location checkin alert for in-house-use',
+ '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.in_house_use.copy_alert',
- 'circ',
- oils_i18n_gettext('circ.in_house_use.copy_alert',
- 'Display copy alert for in-house-use',
- 'coust', 'label'),
- oils_i18n_gettext('circ.in_house_use.copy_alert',
- 'Display copy alert for in-house-use',
- 'coust', 'description'),
- 'bool'),
- ('circ.in_house_use.checkin_alert',
- 'circ',
- oils_i18n_gettext('circ.in_house_use.checkin_alert',
- 'Display copy location checkin alert for in-house-use',
- 'coust', 'label'),
- oils_i18n_gettext('circ.in_house_use.checkin_alert',
- 'Display copy location checkin alert for in-house-use',
- 'coust', 'description'),
- 'bool');
-
-COMMIT;