Commit Graph

3 Commits (f3a91c2629c1deda88195a932ebf253134e020b3)

Author SHA1 Message Date
Michael Kirk 0f9a3334c1 Ensure interactions removed when thread is deleted
In theory, this should have already been handled by the
YapDatabaseRelationship extension via edges.

However, in practice, there were situations (cause unknown) where
interactions would exist without an edge to their corresponding thread.

Rather than being clever with the edge/callback machinery, now threads
explicitly delete all their interactions, and interactions delete all
their attachments (when applicable).

Also, a class to clean up spurious interactions / attachments

In the process:
- refactored TSYapDatabaseObject init to specify designated initializer
- added some testing niceties to TSYapDatabaseObject

// FREEBIE
9 years ago
Michael Kirk f537b6f192 Fix (and test) description for corrupted attachments (#16)
// FREEBIE
9 years ago
Frederic Jacobs 5d91a5bd4f Init Commit 10 years ago