From ca3298c31a41734c3e42eb6d4daf6bbc6d9ccbd9 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 13 Apr 2015 17:20:47 +0000 Subject: [PATCH] set value ctype for RDA 33x$a Signed-off-by: Galen Charlton --- .../src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Open-ILS/src/sql/Pg/upgrade/WWWW.data.set_value_lists_for_33x.sql 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; -- 2.11.0