[open-ils-commits] [GIT] Evergreen ILS branch master updated. 922b4b317cabda8ce9c87902be4f8b53555c84db
Evergreen Git
git at git.evergreen-ils.org
Thu Feb 16 18:33:13 EST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 922b4b317cabda8ce9c87902be4f8b53555c84db (commit)
from 9af4ae71accb41107f7d6c50950c3b42c664546f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 922b4b317cabda8ce9c87902be4f8b53555c84db
Author: Dan Wells <dbw2 at calvin.edu>
Date: Thu Feb 16 18:32:45 2017 -0500
Forward port 2.11.3 upgrade script
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.11.2-2.11.3-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.11.2-2.11.3-upgrade-db.sql
new file mode 100644
index 0000000..9394031
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.11.2-2.11.3-upgrade-db.sql
@@ -0,0 +1,36 @@
+--Upgrade Script for 2.11.2 to 2.11.3
+\set eg_version '''2.11.3'''
+BEGIN;
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.11.3', :eg_version);
+
+SELECT evergreen.upgrade_deps_block_check('1012', :eg_version);
+UPDATE vandelay.merge_profile
+SET preserve_spec = '901c',
+ replace_spec = NULL
+WHERE id = 2
+AND name = oils_i18n_gettext(2, 'Full Overlay', 'vmp', 'name')
+AND preserve_spec IS NULL
+AND add_spec IS NULL
+AND strip_spec IS NULL
+AND replace_spec = '901c';
+
+
+SELECT evergreen.upgrade_deps_block_check('1013', :eg_version); -- csharp/miker/gmcharlt
+
+CREATE INDEX actor_usr_usrname_unaccent_idx ON actor.usr (evergreen.unaccent_and_squash(usrname));
+
+
+
+SELECT evergreen.upgrade_deps_block_check('1018', :eg_version);
+
+UPDATE config.org_unit_setting_type
+ SET view_perm = (SELECT id FROM permission.perm_list
+ WHERE code = 'VIEW_CREDIT_CARD_PROCESSING' LIMIT 1)
+ WHERE name LIKE 'credit.processor.stripe%' AND view_perm IS NULL;
+
+UPDATE config.org_unit_setting_type
+ SET update_perm = (SELECT id FROM permission.perm_list
+ WHERE code = 'ADMIN_CREDIT_CARD_PROCESSING' LIMIT 1)
+ WHERE name LIKE 'credit.processor.stripe%' AND update_perm IS NULL;
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
.../version-upgrade/2.11.2-2.11.3-upgrade-db.sql | 36 ++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.11.2-2.11.3-upgrade-db.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list