]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/1159.data.marc21-tag-758.sql
8bd1e68cddda880e86ab2f48e04319d97284366f
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 1159.data.marc21-tag-758.sql
1 BEGIN;
2
3 SELECT evergreen.upgrade_deps_block_check('1159', :eg_version);
4
5 INSERT INTO config.marc_field(marc_format, marc_record_type, tag, name, description,
6                               fixed_field, repeatable, mandatory, hidden)
7 VALUES (1, 'biblio', '758', $$Resource Identifier$$, $$An identifier for a resource that is either the resource described in the bibliographic record or a resource to which it is related. Resources thus identified may include, but are not limited to, FRBR works, expressions, manifestations, and items. The field does not prescribe a particular content standard or data model.$$,
8 FALSE, TRUE, FALSE, FALSE);
9 INSERT INTO config.record_attr_definition(name, label)
10 VALUES ('marc21_biblio_758_ind_1', 'MARC 21 biblio field 758 indicator position 1');
11 INSERT INTO config.coded_value_map(ctype, code, value, opac_visible, is_simple)
12 VALUES ('marc21_biblio_758_ind_1', '#', $$Undefined$$, FALSE, TRUE);
13 INSERT INTO config.record_attr_definition(name, label)
14 VALUES ('marc21_biblio_758_ind_2', 'MARC 21 biblio field 758 indicator position 2');
15 INSERT INTO config.coded_value_map(ctype, code, value, opac_visible, is_simple)
16 VALUES ('marc21_biblio_758_ind_2', '#', $$Undefined$$, FALSE, TRUE);
17 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
18                                  repeatable, mandatory, hidden)
19 VALUES (1, 'biblio', '758', 'a', $$Label$$,
20 FALSE, FALSE, FALSE);
21 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
22                                  repeatable, mandatory, hidden)
23 VALUES (1, 'biblio', '758', 'i', $$Relationship information$$,
24 TRUE, FALSE, FALSE);
25 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
26                                  repeatable, mandatory, hidden)
27 VALUES (1, 'biblio', '758', '0', $$Authority record control number or standard number$$,
28 TRUE, FALSE, FALSE);
29 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
30                                  repeatable, mandatory, hidden)
31 VALUES (1, 'biblio', '758', '1', $$Real World Object URI$$,
32 TRUE, FALSE, FALSE);
33 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
34                                  repeatable, mandatory, hidden)
35 VALUES (1, 'biblio', '758', '3', $$Materials specified$$,
36 FALSE, FALSE, FALSE);
37 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
38                                  repeatable, mandatory, hidden)
39 VALUES (1, 'biblio', '758', '4', $$Relationship$$,
40 TRUE, FALSE, FALSE);
41 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
42                                  repeatable, mandatory, hidden)
43 VALUES (1, 'biblio', '758', '5', $$Institution to which field applies$$,
44 FALSE, FALSE, FALSE);
45 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
46                                  repeatable, mandatory, hidden)
47 VALUES (1, 'biblio', '758', '6', $$Linkage$$,
48 FALSE, FALSE, FALSE);
49 INSERT INTO config.marc_subfield(marc_format, marc_record_type, tag, code, description,
50                                  repeatable, mandatory, hidden)
51 VALUES (1, 'biblio', '758', '8', $$Field link and sequence number$$,
52 TRUE, FALSE, FALSE);
53
54 -- COMMIT;