On Mar 24, 4:38 pm, Miles J <[email protected]> wrote: > Your tables should be InnoDB FYI, try switching them.
It's not a requirement. I have a Cake project that utilizes a MyISAM DB and 'created' and 'modified' fields work fine. I have my 'created' and 'modified' fields default to NULL and Cake automatically fills them in during insertion without having to do any extra legwork. The data type for both fields in my database is 'datetime.' The schema for your two datetime fields matches exactly what I have. It's very strange that it's not working for you. Out of curiousity, what version of CakePHP and MySQL are you using? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
