mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
[DS-2775] Don't update sequences that we no longer use.
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
--
|
||||
-- update-sequences.sql
|
||||
--
|
||||
-- Version: $Revision$
|
||||
--
|
||||
-- Date: $Date$
|
||||
--
|
||||
-- Copyright (c) 2002-2009, The DSpace Foundation. All rights reserved.
|
||||
-- Copyright (c) 2002-2016, The DSpace Foundation. All rights reserved.
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions are
|
||||
@@ -57,30 +53,13 @@
|
||||
|
||||
@updateseq.sql bitstreamformatregistry_seq bitstreamformatregistry bitstream_format_id ""
|
||||
@updateseq.sql fileextension_seq fileextension file_extension_id ""
|
||||
@updateseq.sql bitstream_seq bitstream bitstream_id ""
|
||||
@updateseq.sql eperson_seq eperson eperson_id ""
|
||||
@updateseq.sql epersongroup_seq epersongroup eperson_group_id ""
|
||||
@updateseq.sql group2group_seq group2group id ""
|
||||
@updateseq.sql group2groupcache_seq group2groupcache id ""
|
||||
@updateseq.sql item_seq item item_id ""
|
||||
@updateseq.sql bundle_seq bundle bundle_id ""
|
||||
@updateseq.sql item2bundle_seq item2bundle id ""
|
||||
@updateseq.sql bundle2bitstream_seq bundle2bitstream id ""
|
||||
@updateseq.sql dcvalue_seq dcvalue dc_value_id ""
|
||||
@updateseq.sql community_seq community community_id ""
|
||||
@updateseq.sql community2community_seq community2community id ""
|
||||
@updateseq.sql collection_seq collection collection_id ""
|
||||
@updateseq.sql community2collection_seq community2collection id ""
|
||||
@updateseq.sql collection2item_seq collection2item id ""
|
||||
@updateseq.sql resourcepolicy_seq resourcepolicy policy_id ""
|
||||
@updateseq.sql epersongroup2eperson_seq epersongroup2eperson id ""
|
||||
@updateseq.sql workspaceitem_seq workspaceitem workspace_item_id ""
|
||||
@updateseq.sql workflowitem_seq workflowitem workflow_id ""
|
||||
@updateseq.sql tasklistitem_seq tasklistitem tasklist_id ""
|
||||
@updateseq.sql registrationdata_seq registrationdata registrationdata_id ""
|
||||
@updateseq.sql subscription_seq subscription subscription_id ""
|
||||
@updateseq.sql communities2item_seq communities2item id ""
|
||||
@updateseq.sql epersongroup2workspaceitem_seq epersongroup2workspaceitem id ""
|
||||
@updateseq.sql metadatafieldregistry_seq metadatafieldregistry metadata_field_id ""
|
||||
@updateseq.sql metadatavalue_seq metadatavalue metadata_value_id ""
|
||||
@updateseq.sql metadataschemaregistry_seq metadataschemaregistry metadata_schema_id ""
|
||||
|
@@ -1,11 +1,7 @@
|
||||
--
|
||||
-- update-sequences.sql
|
||||
--
|
||||
-- Version: $Revision$
|
||||
--
|
||||
-- Date: $Date$
|
||||
--
|
||||
-- Copyright (c) 2002-2009, The DSpace Foundation. All rights reserved.
|
||||
-- Copyright (c) 2002-2016, The DSpace Foundation. All rights reserved.
|
||||
--
|
||||
-- Redistribution and use in source and binary forms, with or without
|
||||
-- modification, are permitted provided that the following conditions are
|
||||
@@ -55,30 +51,13 @@
|
||||
|
||||
SELECT setval('bitstreamformatregistry_seq', max(bitstream_format_id)) FROM bitstreamformatregistry;
|
||||
SELECT setval('fileextension_seq', max(file_extension_id)) FROM fileextension;
|
||||
SELECT setval('bitstream_seq', max(bitstream_id)) FROM bitstream;
|
||||
SELECT setval('eperson_seq', max(eperson_id)) FROM eperson;
|
||||
SELECT setval('epersongroup_seq', max(eperson_group_id)) FROM epersongroup;
|
||||
SELECT setval('group2group_seq', max(id)) FROM group2group;
|
||||
SELECT setval('group2groupcache_seq', max(id)) FROM group2groupcache;
|
||||
SELECT setval('item_seq', max(item_id)) FROM item;
|
||||
SELECT setval('bundle_seq', max(bundle_id)) FROM bundle;
|
||||
SELECT setval('item2bundle_seq', max(id)) FROM item2bundle;
|
||||
SELECT setval('bundle2bitstream_seq', max(id)) FROM bundle2bitstream;
|
||||
SELECT setval('dcvalue_seq', max(dc_value_id)) FROM dcvalue;
|
||||
SELECT setval('community_seq', max(community_id)) FROM community;
|
||||
SELECT setval('community2community_seq', max(id)) FROM community2community;
|
||||
SELECT setval('collection_seq', max(collection_id)) FROM collection;
|
||||
SELECT setval('community2collection_seq', max(id)) FROM community2collection;
|
||||
SELECT setval('collection2item_seq', max(id)) FROM collection2item;
|
||||
SELECT setval('resourcepolicy_seq', max(policy_id)) FROM resourcepolicy;
|
||||
SELECT setval('epersongroup2eperson_seq', max(id)) FROM epersongroup2eperson;
|
||||
SELECT setval('workspaceitem_seq', max(workspace_item_id)) FROM workspaceitem;
|
||||
SELECT setval('workflowitem_seq', max(workflow_id)) FROM workflowitem;
|
||||
SELECT setval('tasklistitem_seq', max(tasklist_id)) FROM tasklistitem;
|
||||
SELECT setval('registrationdata_seq', max(registrationdata_id)) FROM registrationdata;
|
||||
SELECT setval('subscription_seq', max(subscription_id)) FROM subscription;
|
||||
SELECT setval('communities2item_seq', max(id)) FROM communities2item;
|
||||
SELECT setval('epersongroup2workspaceitem_seq', max(id)) FROM epersongroup2workspaceitem;
|
||||
SELECT setval('metadatafieldregistry_seq', max(metadata_field_id)) FROM metadatafieldregistry;
|
||||
SELECT setval('metadatavalue_seq', max(metadata_value_id)) FROM metadatavalue;
|
||||
SELECT setval('metadataschemaregistry_seq', max(metadata_schema_id)) FROM metadataschemaregistry;
|
||||
|
Reference in New Issue
Block a user