Project

General

Profile

1
DROP SEQUENCE identifier_id_seq;
2
DROP TRIGGER identifier_before_insert;
3
DROP TABLE identifier;
4

    
5
CREATE TABLE systemMetadata (
6
   guid   VARCHAR2(2000),    -- the globally unique string identifier
7
   docid  VARCHAR(250), 	 -- the local document id #
8
   rev    NUMBER(8)          -- the revision part of the local identifier
9
)
10

    
11
CREATE TABLE identifier (
12
   guid   VARCHAR2(2000), -- the globally unique string identifier
13
   docid  VARCHAR2(250),  -- the local document id #
14
   rev    NUMBER(8)       -- the revision part of the local identifier
15
);
16

    
17
/*
18
 * update the database version
19
 */
20
UPDATE db_version SET status=0;
21

    
22
INSERT INTO db_version (version, status, date_created) 
23
  VALUES ('1.10.0', 1, CURRENT_DATE);
(22-22/48)