On Wed, Jul 21, 2010 at 5:17 PM, Kirk <k...@kirkkahn.com> wrote: > > The fields could be something like: > id (auto-increment) > change_data (serialized array) > url (original url change was submitted to, eg - "posts/save/24")
Instead of the URL, it might be better to have model & foreign_key fields. It's less important to know that it was "posts/save" than that the record belongs to "Post". Of course, the id remains very important. That way, this functionality could be used for more than one model easily. So, perhaps this, too, should be a behavior. Other pertinent data to save would be User.id and created time. So: id created user_id model foreign_key data Maybe, also, an "accepted" column, if one wanted to make it so that changes are not immediately pushed to the proper table (say, and admin must give it the go-ahead). Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en