set value ctype for RDA 33x$a
authorGalen Charlton <gmc@esilibrary.com>
Mon, 13 Apr 2015 17:20:47 +0000 (17:20 +0000)
committerMike Rylander <mrylander@gmail.com>
Wed, 8 Jul 2015 18:12:06 +0000 (14:12 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql b/Open-ILS/src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql
new file mode 100644 (file)
index 0000000..e5e3c67
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN;
+
+UPDATE config.marc_subfield set value_ctype = 'content_type'
+WHERE  tag = '336' AND code = 'a' AND marc_record_type = 'biblio';
+UPDATE config.marc_subfield set value_ctype = 'media_type'
+WHERE  tag = '337' AND code = 'a' AND marc_record_type = 'biblio';
+UPDATE config.marc_subfield set value_ctype = 'carrier_type'
+WHERE  tag = '338' AND code = 'a' AND marc_record_type = 'biblio';
+
+COMMIT;