mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-17 23:13:10 +00:00
Added sequence to update-sequences.sql
This commit is contained in:
@@ -85,6 +85,7 @@ SELECT setval('metadataschemaregistry_seq', max(metadata_schema_id)) FROM metada
|
||||
SELECT setval('harvested_collection_seq', max(id)) FROM harvested_collection;
|
||||
SELECT setval('harvested_item_seq', max(id)) FROM harvested_item;
|
||||
SELECT setval('webapp_seq', max(id)) FROM webapp;
|
||||
SELECT setval('requestitem_seq', max(requestitem_id)) FROM requestitem;
|
||||
|
||||
-- Handle Sequence is a special case. Since Handles minted by DSpace use the 'handle_seq',
|
||||
-- we need to ensure the next assigned handle will *always* be unique. So, 'handle_seq'
|
||||
@@ -100,4 +101,4 @@ SELECT setval('handle_seq',
|
||||
AS BIGINT)
|
||||
)
|
||||
FROM handle
|
||||
WHERE handle SIMILAR TO '%/[0123456789]*';
|
||||
WHERE handle SIMILAR TO '%/[0123456789]*';
|
||||
|
Reference in New Issue
Block a user