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 ('0875', :eg_version); -- miker/dbwells/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0876', :eg_version); -- mcooper/bshum
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0876', :eg_version);
+
+INSERT INTO permission.perm_list ( code, description ) VALUES
+ ( 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( '',
+ 'Allow a user to add/remove users to/from the "System Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.cat_admin', oils_i18n_gettext( '',
+ 'Allow a user to add/remove users to/from the "Cataloging Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.circ_admin', oils_i18n_gettext( '',
+ 'Allow a user to add/remove users to/from the "Circulation Administrator" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.data_review', oils_i18n_gettext( '',
+ 'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
+ ( 'group_application.user.staff.volunteers', oils_i18n_gettext( '',
+ 'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
+;
+
+COMMIT;
+++ /dev/null
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('', :eg_version);
-
-INSERT INTO permission.perm_list ( code, description ) VALUES
- ( 'group_application.user.staff.admin.system_admin', oils_i18n_gettext( '',
- 'Allow a user to add/remove users to/from the "System Administrator" group', 'ppl', 'description' )),
- ( 'group_application.user.staff.cat_admin', oils_i18n_gettext( '',
- 'Allow a user to add/remove users to/from the "Cataloging Administrator" group', 'ppl', 'description' )),
- ( 'group_application.user.staff.circ_admin', oils_i18n_gettext( '',
- 'Allow a user to add/remove users to/from the "Circulation Administrator" group', 'ppl', 'description' )),
- ( 'group_application.user.staff.data_review', oils_i18n_gettext( '',
- 'Allow a user to add/remove users to/from the "Data Review" group', 'ppl', 'description' )),
- ( 'group_application.user.staff.volunteers', oils_i18n_gettext( '',
- 'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' ))
-;
-
-COMMIT;
\ No newline at end of file