mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
Merge pull request #66 from atmire/dspace3-embargo
[DS-895] Advanced Embargo Project, Database Schema Fixes
This commit is contained in:
@@ -195,6 +195,7 @@ CREATE TABLE Item
|
|||||||
submitter_id INTEGER REFERENCES EPerson(eperson_id),
|
submitter_id INTEGER REFERENCES EPerson(eperson_id),
|
||||||
in_archive NUMBER(1),
|
in_archive NUMBER(1),
|
||||||
withdrawn NUMBER(1),
|
withdrawn NUMBER(1),
|
||||||
|
discoverable NUMBER(1),
|
||||||
last_modified TIMESTAMP,
|
last_modified TIMESTAMP,
|
||||||
owning_collection INTEGER
|
owning_collection INTEGER
|
||||||
);
|
);
|
||||||
@@ -401,7 +402,10 @@ CREATE TABLE ResourcePolicy
|
|||||||
eperson_id INTEGER REFERENCES EPerson(eperson_id),
|
eperson_id INTEGER REFERENCES EPerson(eperson_id),
|
||||||
epersongroup_id INTEGER REFERENCES EPersonGroup(eperson_group_id),
|
epersongroup_id INTEGER REFERENCES EPersonGroup(eperson_group_id),
|
||||||
start_date DATE,
|
start_date DATE,
|
||||||
end_date DATE
|
end_date DATE,
|
||||||
|
rpname VARCHAR2(30),
|
||||||
|
rpdescription VARCHAR2(100),
|
||||||
|
rptype VARCHAR2(30);
|
||||||
);
|
);
|
||||||
|
|
||||||
-- index by resource_type,resource_id - all queries by
|
-- index by resource_type,resource_id - all queries by
|
||||||
|
@@ -232,6 +232,7 @@ CREATE TABLE Item
|
|||||||
submitter_id INTEGER REFERENCES EPerson(eperson_id),
|
submitter_id INTEGER REFERENCES EPerson(eperson_id),
|
||||||
in_archive BOOL,
|
in_archive BOOL,
|
||||||
withdrawn BOOL,
|
withdrawn BOOL,
|
||||||
|
discoverable BOOL,
|
||||||
last_modified TIMESTAMP WITH TIME ZONE,
|
last_modified TIMESTAMP WITH TIME ZONE,
|
||||||
owning_collection INTEGER
|
owning_collection INTEGER
|
||||||
);
|
);
|
||||||
@@ -435,7 +436,10 @@ CREATE TABLE ResourcePolicy
|
|||||||
eperson_id INTEGER REFERENCES EPerson(eperson_id),
|
eperson_id INTEGER REFERENCES EPerson(eperson_id),
|
||||||
epersongroup_id INTEGER REFERENCES EPersonGroup(eperson_group_id),
|
epersongroup_id INTEGER REFERENCES EPersonGroup(eperson_group_id),
|
||||||
start_date DATE,
|
start_date DATE,
|
||||||
end_date DATE
|
end_date DATE,
|
||||||
|
rpname VARCHAR(30),
|
||||||
|
rptype VARCHAR(30),
|
||||||
|
rpdescription VARCHAR(100)
|
||||||
);
|
);
|
||||||
|
|
||||||
-- index by resource_type,resource_id - all queries by
|
-- index by resource_type,resource_id - all queries by
|
||||||
|
Reference in New Issue
Block a user