[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4c62ec8ff3d1ee626da4a8bae6eba2f7f534282d

Evergreen Git git at git.evergreen-ils.org
Sun Nov 18 22:04:59 EST 2018


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  4c62ec8ff3d1ee626da4a8bae6eba2f7f534282d (commit)
      from  0d2dac8751e64a86297110b69a641d0673feb165 (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 4c62ec8ff3d1ee626da4a8bae6eba2f7f534282d
Author: Ben Shum <ben at evergreener.net>
Date:   Sun Nov 18 22:04:23 2018 -0500

    LP#1764542: Fixing upgrade script stamping
    
    Last commit deleted it, not changed it.  Repairing issue.
    
    Signed-off-by: Ben Shum <ben at evergreener.net>

diff --git a/Open-ILS/src/sql/Pg/upgrade/1136.schema.lp1764542-mods33-update.sql b/Open-ILS/src/sql/Pg/upgrade/1136.schema.lp1764542-mods33-update.sql
new file mode 100644
index 0000000..9cf889e
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/1136.schema.lp1764542-mods33-update.sql
@@ -0,0 +1,12 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1136', :eg_version);
+
+-- update mods33 data entered by 1100 with a format of 'mods32'
+-- harmless if you have not run 1100 yet
+UPDATE config.metabib_field SET format = 'mods33' WHERE format = 'mods32' and id in (38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50);
+
+-- change the default format to 'mods33'
+ALTER TABLE config.metabib_field ALTER COLUMN format SET DEFAULT 'mods33'::text;
+
+COMMIT;

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

Summary of changes:
 .../1136.schema.lp1764542-mods33-update.sql        |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/1136.schema.lp1764542-mods33-update.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list