dataverse
dataverse copied to clipboard
add cascade for dataverse delete with metrics
What this PR does / why we need it: dataverse delete fails if there are cached metrics due to a foreign key constraint
Which issue(s) this PR closes: https://github.com/IQSS/dataverse/issues/12030
- Closes #12030
Special notes for your reviewer:
Suggestions on how to test this: create/publish dataverse. request metrics to cause a cached row in metric table. Delete the dataverse
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation: