[open-ils-commits] [GIT] Evergreen ILS branch rel_3_2 updated. 9f6db569aba8118f1a654fce9165aa7f6c68a9eb

Evergreen Git git at git.evergreen-ils.org
Tue Jan 22 14:35:59 EST 2019


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_3_2 has been updated
       via  9f6db569aba8118f1a654fce9165aa7f6c68a9eb (commit)
      from  914c321f8e1c0a209ec325209960d3b890d311ed (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 9f6db569aba8118f1a654fce9165aa7f6c68a9eb
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Tue Jan 22 14:33:08 2019 -0500

    Forward-port 3.2.3 upgrade script
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/3.2.2-3.2.3-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/3.2.2-3.2.3-upgrade-db.sql
new file mode 100644
index 0000000..865beff
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/version-upgrade/3.2.2-3.2.3-upgrade-db.sql
@@ -0,0 +1,17 @@
+--Upgrade Script for 3.2.2 to 3.2.3
+\set eg_version '''3.2.3'''
+BEGIN;
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('3.2.3', :eg_version);
+
+SELECT evergreen.upgrade_deps_block_check('1141', :eg_version);
+
+ALTER TABLE vandelay.session_tracker
+    ALTER COLUMN record_type TYPE TEXT,
+    ALTER COLUMN record_type SET DEFAULT 'bib'::TEXT;
+
+ALTER TABLE vandelay.session_tracker
+    ADD CONSTRAINT vand_tracker_valid_record_type
+        CHECK (record_type IN ('bib', 'authority'));
+
+
+COMMIT;

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

Summary of changes:
 .../3.2.2-3.2.3-upgrade-db.sql}                    |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
 copy Open-ILS/src/sql/Pg/{upgrade/1141.schema.vandelay-record-type-fix.sql => version-upgrade/3.2.2-3.2.3-upgrade-db.sql} (70%)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list