1
|
/*
|
2
|
* Alter the system metadata table to suport seriesId
|
3
|
*/
|
4
|
ALTER TABLE systemMetadata ADD (series_id VARCHAR2(2000), media_type VARCHAR2(2000), file_name VARCHAR2(2000));
|
5
|
|
6
|
/*
|
7
|
* Insert the entry for dataone schema v2.
|
8
|
*/
|
9
|
INSERT INTO xml_catalog (entry_type, public_id, system_id)
|
10
|
VALUES ('Schema', 'http://ns.dataone.org/service/types/v2.0', '/schema/dataone/dataoneTypes_v2.0.xsd');
|
11
|
/*
|
12
|
* update the database version
|
13
|
*/
|
14
|
UPDATE db_version SET status=0;
|
15
|
|
16
|
INSERT INTO db_version (version, status, date_created)
|
17
|
VALUES ('2.5.0', 1, CURRENT_DATE);
|