LP1158206 - include upgrade script to fix Gwich'in typo
authorBen Shum <bshum@biblio.org>
Wed, 10 Jul 2013 00:47:20 +0000 (20:47 -0400)
committerDan Wells <dbw2@calvin.edu>
Wed, 10 Jul 2013 15:24:13 +0000 (11:24 -0400)
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.gwichin-typo-fix.sql
new file mode 100644 (file)
index 0000000..4b61142
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+UPDATE config.coded_value_map
+SET value = 'Gwich''in'
+WHERE ctype = 'item_lang' AND code = 'gwi';
+
+COMMIT;