1 |
8810
|
leinfelder
|
/*
|
2 |
|
|
* Alter the system metadata table to suport seriesId
|
3 |
|
|
*/
|
4 |
9218
|
tao
|
ALTER TABLE systemMetadata ADD (series_id VARCHAR2(2000), media_type VARCHAR2(2000), file_name VARCHAR2(2000));
|
5 |
8810
|
leinfelder
|
|
6 |
|
|
/*
|
7 |
9211
|
tao
|
* 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 |
8810
|
leinfelder
|
* 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);
|