mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-23 01:43:07 +00:00
Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -736,6 +736,19 @@ FROM ItemsBySubject, Communities2Item
|
||||
WHERE ItemsBySubject.item_id = Communities2Item.item_id
|
||||
;
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- Tables to manage cache of item counts for communities and collections
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
CREATE TABLE collection_item_count (
|
||||
collection_id INTEGER REFERENCES collection(collection_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE community_item_count (
|
||||
community_id INTEGER REFERENCES community(community_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
-------------------------------------------------------
|
||||
-- Create 'special' groups, for anonymous access
|
||||
|
@@ -61,3 +61,17 @@ alter table bundle drop column mets_bitstream_id; -- totally unused column
|
||||
-- of the last page reached within a step in the Configurable Submission Process
|
||||
-------------------------------------------------------------------------------
|
||||
ALTER TABLE workspaceitem ADD page_reached INTEGER;
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- Tables to manage cache of item counts for communities and collections
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
CREATE TABLE collection_item_count (
|
||||
collection_id INTEGER REFERENCES collection(collection_id),
|
||||
number INTEGER
|
||||
);
|
||||
|
||||
CREATE TABLE community_item_count (
|
||||
community_id INTEGER REFERENCES community(community_id),
|
||||
number INTEGER
|
||||
);
|
Reference in New Issue
Block a user