This is the table:

CREATE TABLE IF NOT EXISTS `requests` (
  `id` int(11) NOT NULL auto_increment,
  `created` datetime default NULL,
  `modified` datetime default NULL,
  `user_id` int(11) NOT NULL default '0',
  `friend_id` int(11) NOT NULL default '0',
  `message` varchar(50) default NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=46 ;

If I read the docs right those are the required settings for the dates, no?

Chad



On Thu, Jan 29, 2009 at 10:44 PM, teknoid <teknoid.cake...@gmail.com> wrote:

>
> Any defaults set in the DB?
> Cleared the model cache?
>
> On Jan 29, 9:17 pm, Chad Casselman <ccassel...@gmail.com> wrote:
> > I just updated one of my apps with the latest of cakephp (just replaced
> the
> > cake folder) and now when items are insert the created and modified dates
> > are set to all 0s.
> >
> > Any thoughts on this?
> >
> > Chad
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to