LP#1553287: Add part information to biblio.fingerprint
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / XXXX.data.add_parts_for_biblio_fingerprint.sql
1 BEGIN;
2
3 -- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
4
5 INSERT INTO config.biblio_fingerprint (name, xpath, format)
6     VALUES (
7         'PartName',
8         '//mods32:mods/mods32:titleInfo/mods32:partName',
9         'mods32'
10     );
11
12 INSERT INTO config.biblio_fingerprint (name, xpath, format)
13     VALUES (
14         'PartNumber',
15         '//mods32:mods/mods32:titleInfo/mods32:partNumber',
16         'mods32'
17     );
18
19 COMMIT;