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 ('0740', :eg_version); -- miker/senator
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0741', :eg_version); -- phasefx/senator
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
--- /dev/null
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0741', :eg_version);
+
+INSERT INTO permission.perm_list ( id, code, description ) VALUES (
+ 540,
+ 'ADMIN_TOOLBAR_FOR_ORG',
+ oils_i18n_gettext(
+ 540,
+ 'Allows a user to create, edit, and delete custom toolbars for org units',
+ 'ppl',
+ 'description'
+ )
+), (
+ 541,
+ 'ADMIN_TOOLBAR_FOR_WORKSTATION',
+ oils_i18n_gettext(
+ 541,
+ 'Allows a user to create, edit, and delete custom toolbars for workstations',
+ 'ppl',
+ 'description'
+ )
+), (
+ 542,
+ 'ADMIN_TOOLBAR_FOR_USER',
+ oils_i18n_gettext(
+ 542,
+ 'Allows a user to create, edit, and delete custom toolbars for users',
+ 'ppl',
+ 'description'
+ )
+);
+
+COMMIT;
+
+++ /dev/null
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO permission.perm_list ( id, code, description ) VALUES (
- 540,
- 'ADMIN_TOOLBAR_FOR_ORG',
- oils_i18n_gettext(
- 540,
- 'Allows a user to create, edit, and delete custom toolbars for org units',
- 'ppl',
- 'description'
- )
-), (
- 541,
- 'ADMIN_TOOLBAR_FOR_WORKSTATION',
- oils_i18n_gettext(
- 541,
- 'Allows a user to create, edit, and delete custom toolbars for workstations',
- 'ppl',
- 'description'
- )
-), (
- 542,
- 'ADMIN_TOOLBAR_FOR_USER',
- oils_i18n_gettext(
- 542,
- 'Allows a user to create, edit, and delete custom toolbars for users',
- 'ppl',
- 'description'
- )
-);
-
-COMMIT;
-