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

Maintain Referential Integrity while Deleting Resources #543

Closed
alexanderkiel opened this issue Nov 22, 2021 · 0 comments
Closed

Maintain Referential Integrity while Deleting Resources #543

alexanderkiel opened this issue Nov 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request module:db
Milestone

Comments

@alexanderkiel
Copy link
Member

alexanderkiel commented Nov 22, 2021

Currently, one can delete a resource even when it is referenced by other resources. We have to check referential integrity also at deletion.

However, because we didn't check for referential integrity while deleting in the past, we will add the property :check-refs to the transaction command delete. The default value will be false so that existing commands in the transaction log will continue to function. The value of :check-refs will be set depending on the env var ENFORCE_REFERENTIAL_INTEGRITY.

@alexanderkiel alexanderkiel added the bug Something isn't working label Nov 22, 2021
@alexanderkiel alexanderkiel self-assigned this Nov 22, 2021
@alexanderkiel alexanderkiel added this to the v0.24.0 milestone Jan 22, 2024
@alexanderkiel alexanderkiel modified the milestones: v0.24.0, v0.25 Feb 5, 2024
@alexanderkiel alexanderkiel added enhancement New feature or request and removed bug Something isn't working labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module:db
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants