3 -- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
5 INSERT INTO config.coded_value_map
6 (id, ctype, code, opac_visible, value, search_label)
7 SELECT 1738,'search_format','video', true,
8 oils_i18n_gettext(1738, 'All Videos', 'ccvm', 'value'),
9 oils_i18n_gettext(1738, 'All Videos', 'ccvm', 'search_label')
11 SELECT 1 FROM config.coded_value_map WHERE id=1738
12 OR value = 'All Videos' OR search_label = 'All Videos'
15 INSERT INTO config.composite_attr_entry_definition (coded_value, definition) VALUES
16 (1738, '{"_attr":"item_type","_val":"g"}');
21 \qecho This is a record attribute reingest of your bib records.
22 \qecho It will take a while.
23 \qecho You may cancel now without losing the effect of the rest of the
24 \qecho upgrade script, and arrange the reingest later.
25 SELECT COUNT(metabib.reingest_record_attributes(id))
26 FROM biblio.record_entry WHERE deleted IS FALSE;