[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. f2e25f58f0a813b41f086f5a8a8a9d710eae028c

Evergreen Git git at git.evergreen-ils.org
Wed Jun 17 23:54:17 EDT 2015


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_7 has been updated
       via  f2e25f58f0a813b41f086f5a8a8a9d710eae028c (commit)
      from  f3f63ece5acb4ebe820b6e643f19e60b4fb70192 (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 f2e25f58f0a813b41f086f5a8a8a9d710eae028c
Author: Ben Shum <bshum at biblio.org>
Date:   Wed Jun 17 23:53:57 2015 -0400

    Forward-port 2.7.5-2.7.6 upgrade script
    
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/2.7.5-2.7.6-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/2.7.5-2.7.6-upgrade-db.sql
new file mode 100644
index 0000000..5b8be73
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/version-upgrade/2.7.5-2.7.6-upgrade-db.sql
@@ -0,0 +1,35 @@
+--Upgrade Script for 2.7.5 to 2.7.6
+\set eg_version '''2.7.6'''
+BEGIN;
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('2.7.6', :eg_version);
+-- index serial.record_entry.record
+
+
+SELECT evergreen.upgrade_deps_block_check('0917', :eg_version);
+
+CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
+
+-- index authority.simple_heading.record so that reingesting
+-- authority records does not require a sequential scan of ash
+
+SELECT evergreen.upgrade_deps_block_check('0918', :eg_version);
+
+CREATE INDEX authority_simple_heading_record_idx ON authority.simple_heading (record);
+
+
+SELECT evergreen.upgrade_deps_block_check('0919', :eg_version);
+
+ALTER TABLE acq.acq_lineitem_history DROP CONSTRAINT IF EXISTS acq_lineitem_history_queued_record_fkey;
+
+
+SELECT evergreen.upgrade_deps_block_check('0920', :eg_version);
+
+CREATE UNIQUE INDEX
+    hold_request_capture_protect_idx ON action.hold_request (current_copy)
+    WHERE   current_copy IS NOT NULL -- sometimes null in old/bad data
+            AND capture_time IS NOT NULL
+            AND cancel_time IS NULL
+            AND fulfillment_time IS NULL;
+
+
+COMMIT;

-----------------------------------------------------------------------

Summary of changes:
 .../Pg/version-upgrade/2.7.5-2.7.6-upgrade-db.sql  |   35 ++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/version-upgrade/2.7.5-2.7.6-upgrade-db.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list