Skip to content

Add code to rollback changes on failure #25

@jwood

Description

@jwood

Since we do not have transactions to help us, we need to manually ensure that the objects in their respective database are not left in a corrupt state if, for some reason, we are unable to create or destroy a relationship. Add logic to validate, as much as possible, the objects before saving them. Also, create code to rollback a "transaction" if one of the operations fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions