Project

General

Profile

1 9846 tao
/*
2 9857 walker
 * Add onedcx XML schema to xml_catalog table
3
 */
4
 INSERT INTO xml_catalog (entry_type, public_id, system_id) VALUES ('Schema', 'http://ns.dataone.org/metadata/schema/onedcx/v1.0', '/schema/onedcx/onedcx.xsd');
5
6
/*
7 9846 tao
 * Ensure xml_catalog sequence is at table max
8
 */
9
SELECT setval('xml_catalog_id_seq', (SELECT max(catalog_id) from xml_catalog));
10
11
12
/*
13
 * update the database version
14
 */
15
UPDATE db_version SET status=0;
16
17
INSERT INTO db_version (version, status, date_created)
18 9857 walker
  VALUES ('2.7.1', 1, CURRENT_DATE);