From 7a39d71d0e102bfac1e6059911597daf191f4b3b Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Wed, 22 Aug 2012 14:49:02 -0400 Subject: [PATCH] 2.2.1 -> 2.2.2 upgrade script Signed-off-by: Lebbeous Fogle-Weekley --- .../src/sql/Pg/version-upgrade/2.2.1-2.2.2-upgrade-db.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.2.1-2.2.2-upgrade-db.sql diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.2.1-2.2.2-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.2.1-2.2.2-upgrade-db.sql new file mode 100644 index 0000000000..52696ff9fe --- /dev/null +++ b/Open-ILS/src/sql/Pg/version-upgrade/2.2.1-2.2.2-upgrade-db.sql @@ -0,0 +1,13 @@ +--Upgrade Script for 2.2.1 to 2.2.2 +BEGIN; +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.2.2', :eg_version); + +SELECT evergreen.upgrade_deps_block_check('0736', :eg_version); + +INSERT INTO permission.perm_list (id, code, description) + VALUES (539, 'UPDATE_ORG_UNIT_SETTING.ui.hide_copy_editor_fields', 'Allows staff to edit displayed copy editor fields'); + +UPDATE config.org_unit_setting_type SET update_perm = 539 WHERE name = 'ui.hide_copy_editor_fields'; + + +COMMIT; -- 2.11.0