Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ref annos now soft delete/update #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dlbrittain
Copy link
Collaborator

@dlbrittain dlbrittain commented Jun 13, 2024

This PR will update reference table ids by copying the row and then marking the 'old' row as non-valid and pointing to the new row if the underlying referenced table gets updated or soft deleted. If the annotation row in the referenced table has a 'superceded_id' (spelling will be fixed with a migration soon!) this will trigger a soft delete operation on the reference table and create a new row pointing to the new annotation row. This should work on nested links.

I would like this to be tested beyond the unit tests before merging.

@dlbrittain dlbrittain marked this pull request as ready for review June 13, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant