well, of course you can name it whatever you like :) deleted, removed, not_available_anymore, ... but yes, thats how you would do it in cake
On 3 Aug., 18:23, Peter Meth <[email protected]> wrote: > I am new to CakePHP and I have a lot of existing mysql tables that > have a field is_active that I use for soft-deletes. The field is an > enum('false','true'). I wanted to know if I can somehow take > advantage of Cake's soft-delete functionality without changing my > tables. > From what I read Cake does not have enum support out of the box and > the soft-delete functionality is accomplished with a tinyint(1) field > called deleted. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
