mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
Fix a few typo.s.
This commit is contained in:
@@ -121,7 +121,7 @@ DELETE FROM resourcepolicy
|
||||
WHERE resource_type_id = 0 AND resource_id IN
|
||||
(SELECT bundle2bitstream.bitstream_id FROM
|
||||
((workflowitem INNER JOIN item2bundle ON workflowitem.item_id = item2bundle.item_id)
|
||||
INNER JOIN bundle2bitstream ON item2bundle.bundle_id = bundle2bitstream.bundle_id);
|
||||
INNER JOIN bundle2bitstream ON item2bundle.bundle_id = bundle2bitstream.bundle_id));
|
||||
-- Create policies for claimtasks
|
||||
-- public static final int BITSTREAM = 0;
|
||||
-- public static final int BUNDLE = 1;
|
||||
@@ -137,7 +137,7 @@ WHERE resource_type_id = 0 AND resource_id IN
|
||||
-- Create a temporarty table with action ID's
|
||||
CREATE TABLE temptable(
|
||||
action_id INTEGER PRIMARY KEY
|
||||
)
|
||||
);
|
||||
INSERT ALL
|
||||
INTO temptable (action_id) VALUES (0)
|
||||
INTO temptable (action_id) VALUES (1)
|
||||
@@ -266,11 +266,11 @@ FROM (((cwf_workflowitem INNER JOIN item ON cwf_workflowitem.item_id = item.item
|
||||
);
|
||||
|
||||
-- TODO: not tested yet
|
||||
INSERT INTO cwf_in_progress_user (in_progress_user_id, workflowitem_id, step_id, user_id, finished)
|
||||
INSERT INTO cwf_in_progress_user (in_progress_user_id, workflowitem_id, user_id, finished)
|
||||
SELECT
|
||||
cwf_in_progress_user_seq.nextval AS in_progress_user_id,
|
||||
cwf_workflowitem.item_id AS workflowitem_id,
|
||||
cwf_claimtask.owner_id AS user_id
|
||||
cwf_workflowitem.workflowitem_id AS workflowitem_id,
|
||||
cwf_claimtask.owner_id AS user_id,
|
||||
0 as finished
|
||||
FROM
|
||||
(cwf_claimtask INNER JOIN cwf_workflowitem ON cwf_workflowitem.workflowitem_id = cwf_claimtask.workflowitem_id);
|
||||
|
@@ -11,14 +11,13 @@ CREATE TABLE cwf_workflowitem
|
||||
workflowitem_id INTEGER PRIMARY KEY,
|
||||
item_id INTEGER REFERENCES item(item_id) UNIQUE,
|
||||
collection_id INTEGER REFERENCES collection(collection_id),
|
||||
|
||||
--
|
||||
-- Answers to questions on first page of submit UI
|
||||
multiple_titles NUMBER(1),
|
||||
published_before NUMBER(1),
|
||||
multiple_files NUMBER(1)
|
||||
-- Note: stage reached not applicable here - people involved in workflow
|
||||
-- can always jump around submission UI
|
||||
|
||||
);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user