Re: added a 'created'-field in my table, but it's not filled

2009-06-15 Thread Martin Westin
Have you allowed NULL on the created field? (and modified) I am not at all sure anymore but I have a vague memory of this being significant... and os it appears to be still: http://book.cakephp.org/view/69/created-and-modified On Jun 15, 12:04 am, Peter wrote: > I read that adding a 'created

added a 'created'-field in my table, but it's not filled

2009-06-14 Thread Peter
I read that adding a 'created' DATETIME-field to a table will be recognized and automatically filled whenever i save a new model to the db, but at the moment it's just empty all of the time. It seemed to work fine when i tested it on another model which i added through a form on a webpage, but now