From: Galen Charlton Date: Mon, 13 Apr 2015 17:20:47 +0000 (+0000) Subject: set value ctype for RDA 33x$a X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ca3298c31a41734c3e42eb6d4daf6bbc6d9ccbd9;p=working%2FEvergreen.git set value ctype for RDA 33x$a Signed-off-by: Galen Charlton --- 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 index 0000000000..e5e3c672fe --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql @@ -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;