Why ‘created’ and ‘modified’ fields might not saveMay 28, 2007
I found this when I was searching for a reason that the created and modified fields were not automagically saving when I saved a record to the database.
What is says is that instead of defining the created and modified fields as NOT NULL, they should be defined as NULL and let Cake then go ahead and put an entry into them. This is for version 1.2
`modified` datetime default NULL,
`modified` datetime default NOT NULL default '0000-00-00 00:00:00',