Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

DS-1916 Error in update-sequence script in 4.0

  • Loading branch information...
commit c211b8b00ab931a9a821321c9f0032ffd6cf9c37 1 parent 95ff5c7
@helix84 helix84 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dspace/etc/postgres/update-sequences.sql
2  dspace/etc/postgres/update-sequences.sql
@@ -84,7 +84,7 @@ SELECT setval('metadatavalue_seq', max(metadata_value_id)) FROM metadatavalue;
SELECT setval('metadataschemaregistry_seq', max(metadata_schema_id)) FROM metadataschemaregistry;
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('webapp_seq', max(webapp_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',

0 comments on commit c211b8b

Please sign in to comment.
Something went wrong with that request. Please try again.