Change the default value of the column to NULL.

On Oct 19, 3:10 pm, RLR <[EMAIL PROTECTED]> wrote:
>  I recently started using cakephp 1.2 branch.
>
> The problem I am having is that a date field in my app is always saved/
> reloaded with "0000-00-00 00:00:00". I would prefer to use a NULL
> value when no date has been entered. How can I change/fix this
> behavior?
>
> Thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to