1 |
5276
|
jones
|
DROP SEQUENCE identifier_id_seq;
|
2 |
|
|
DROP TRIGGER identifier_before_insert;
|
3 |
|
|
DROP TABLE identifier;
|
4 |
5371
|
berkley
|
DROP SEQUENCE systemMetadata_id_seq;
|
5 |
|
|
DROP TRIGGER systemMetadata_before_insert;
|
6 |
|
|
DROP TABLE systemMetadata;
|
7 |
5276
|
jones
|
|
8 |
5371
|
berkley
|
CREATE TABLE systemMetadata (
|
9 |
|
|
guid VARCHAR2(2000), -- the globally unique string identifier
|
10 |
|
|
docid VARCHAR(250), -- the local document id #
|
11 |
|
|
rev NUMBER(8) -- the revision part of the local identifier
|
12 |
|
|
)
|
13 |
|
|
|
14 |
5276
|
jones
|
CREATE TABLE identifier (
|
15 |
|
|
guid VARCHAR2(2000), -- the globally unique string identifier
|
16 |
|
|
docid VARCHAR2(250), -- the local document id #
|
17 |
|
|
rev NUMBER(8) -- the revision part of the local identifier
|
18 |
|
|
);
|
19 |
|
|
|
20 |
|
|
/*
|
21 |
|
|
* update the database version
|
22 |
|
|
*/
|
23 |
|
|
UPDATE db_version SET status=0;
|
24 |
|
|
|
25 |
|
|
INSERT INTO db_version (version, status, date_created)
|
26 |
|
|
VALUES ('1.10.0', 1, CURRENT_DATE);
|