Hello.

i'm looking for a smart way to implement Soft Delete in my app.

every table (model) has 2 fields
- Deleted DATETIME (if not null = record deleted)
- DeletedBy INT (PersonID)

i tried the SoftDeletable behavior found in Bakery but i get some
errors.

for example...
- it loads data from linked  models even if records are flagged as
"deleted"
- it doesn't take care of WHO deleted the record

Suggestions are appreciated
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to