mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-09 02:54:20 +00:00
add requestitem table and seq table to schema
This commit is contained in:
@@ -111,6 +111,7 @@ CREATE SEQUENCE harvested_item_seq;
|
||||
CREATE SEQUENCE versionitem_seq;
|
||||
CREATE SEQUENCE versionhistory_seq;
|
||||
CREATE SEQUENCE webapp_seq;
|
||||
CREATE SEQUENCE requestitem_seq;
|
||||
|
||||
-------------------------------------------------------
|
||||
-- BitstreamFormatRegistry table
|
||||
@@ -825,3 +826,20 @@ CREATE TABLE Webapp
|
||||
Started TIMESTAMP,
|
||||
isUI INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE requestitem
|
||||
(
|
||||
requestitem_id int4 NOT NULL,
|
||||
token varchar(48),
|
||||
item_id int4,
|
||||
bitstream_id int4,
|
||||
allfiles bool,
|
||||
request_email varchar(64),
|
||||
request_name varchar(64),
|
||||
request_date timestamp,
|
||||
accept_request bool,
|
||||
decision_date timestamp,
|
||||
expires timestamp,
|
||||
CONSTRAINT requestitem_pkey PRIMARY KEY (requestitem_id),
|
||||
CONSTRAINT requestitem_token_key UNIQUE (token)
|
||||
);
|
||||
|
Reference in New Issue
Block a user