mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-23 18:03:11 +00:00
Added SQL to bring Oracle schema inline with Postgres updates
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2257 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -138,7 +138,8 @@ CREATE TABLE EPerson
|
|||||||
last_active TIMESTAMP,
|
last_active TIMESTAMP,
|
||||||
sub_frequency INTEGER,
|
sub_frequency INTEGER,
|
||||||
phone VARCHAR2(32),
|
phone VARCHAR2(32),
|
||||||
netid VARCHAR2(64) UNIQUE
|
netid VARCHAR2(64) UNIQUE,
|
||||||
|
language VARCHAR2(64)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@@ -411,7 +412,8 @@ CREATE TABLE WorkspaceItem
|
|||||||
published_before NUMBER(1),
|
published_before NUMBER(1),
|
||||||
multiple_files NUMBER(1),
|
multiple_files NUMBER(1),
|
||||||
-- How for the user has got in the submit process
|
-- How for the user has got in the submit process
|
||||||
stage_reached INTEGER
|
stage_reached INTEGER,
|
||||||
|
page_reached INTEGER
|
||||||
);
|
);
|
||||||
|
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
@@ -48,3 +48,20 @@
|
|||||||
-- Remove NOT NULL restrictions from the checksum columns of most_recent_checksum
|
-- Remove NOT NULL restrictions from the checksum columns of most_recent_checksum
|
||||||
ALTER TABLE most_recent_checksum MODIFY expected_checksum null;
|
ALTER TABLE most_recent_checksum MODIFY expected_checksum null;
|
||||||
ALTER TABLE most_recent_checksum MODIFY current_checksum null;
|
ALTER TABLE most_recent_checksum MODIFY current_checksum null;
|
||||||
|
|
||||||
|
------------------------------------------------------
|
||||||
|
-- New Column language language in EPerson
|
||||||
|
------------------------------------------------------
|
||||||
|
|
||||||
|
alter table eperson add column language VARCHAR2(64);
|
||||||
|
update eperson set language = 'en';
|
||||||
|
|
||||||
|
alter table bundle drop column mets_bitstream_id; -- totally unused column
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
-- Necessary for Configurable Submission functionality:
|
||||||
|
-- Modification to workspaceitem table to support keeping track
|
||||||
|
-- of the last page reached within a step in the Configurable Submission Process
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
ALTER TABLE workspaceitem ADD page_reached INTEGER;
|
||||||
|
Reference in New Issue
Block a user