Skip to content

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.

2 participants