afternoon all,

I have had a search but can't dig up anything on the subject. If
anyone has a reference to an old discussion or wiki article then
please fire it through.

2 questions:

1. Instead of deleting data altogether I have been setting a `deleted`
flag to Y. This may seem like a stupid quesiton but is this a good
idea? or simply bad DB practice.

2. Due to this I'm unable to employ the useful automatic association
deletion within CakePHP. I would like to be able to write a
afterDelete function in my app_model that cycles through model
assocations and deletes associated models.

Can this be done? and again, is it good practice?

thanks,
freedom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to