[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. c1ab6f7799f758eec048bc79d158e088c302f05d

Evergreen Git git at git.evergreen-ils.org
Thu Feb 16 18:36:16 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, rel_2_11 has been updated
       via  c1ab6f7799f758eec048bc79d158e088c302f05d (commit)
      from  c8fc2dfe4a6112896839faf9cc14a105d78799d4 (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 c1ab6f7799f758eec048bc79d158e088c302f05d
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