improve migration of community subscriptions: set dspace_object_id to community UUID / remove community_id#362
Conversation
|
The in-depth analysis in issue #371 has shown that the table |
|
To fix the problem mentioned in the comment below it is crucial that the Flyway script CRIS installations which have already migrated to DS CRIS 7 need to apply the changes manually. |
|
This pull request has been automatically marked as stale because it has not had Allowing pull requests to close as stale helps us filter out old work that is no longer All pull requests closed by this bot act like normal pull requests; If these changes are still relevant then please comment and/or rebase your PR based on the |
|
Has the problem been fixed in the meantime? |
This PR handles community subscriptions managed in the
subscriptiontable: it adds the community UUID to columndspace_object_id. This corresponds to the way new community subscriptions in DS CRIS are managed.Afterward the column
community_idin thesubscriptiontable is removed. This column was added with DSpace CRIS based on DSpace 1.8.2.2 (https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V1.8.2.2__DSpaceCRIS-subscription_database_schema.sql).