From ade704b8a9bb64132fea036bc80a8a0ea920ee55 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Wed, 19 Mar 2014 10:13:06 -0400 Subject: [PATCH] LP#1230557 Stamping upgrade script for perm_list_group_admin Signed-off-by: Ben Shum --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- ...up_system_admin.sql => 0876.data.perm_list_group_system_admin.sql} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.data.perm_list_group_system_admin.sql => 0876.data.perm_list_group_system_admin.sql} (92%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index be95f68f1d..f1bde2b50b 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps 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, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql b/Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql similarity index 92% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql rename to Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql index 7d92cb1aa1..d3e2f72559 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.perm_list_group_system_admin.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0876.data.perm_list_group_system_admin.sql @@ -1,6 +1,6 @@ BEGIN; --- SELECT evergreen.upgrade_deps_block_check('', :eg_version); +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( '', @@ -15,4 +15,4 @@ INSERT INTO permission.perm_list ( code, description ) VALUES 'Allow a user to add/remove users to/from the "Volunteers" group', 'ppl', 'description' )) ; -COMMIT; \ No newline at end of file +COMMIT; -- 2.11.0