#6205: Invalid default value for datetime/timestamp ---------------------------+------------------------------------------------ Reporter: verbal | Owner: mark_story Type: Test Case | Status: assigned Priority: Medium | Milestone: 1.2.x.x Component: MySQLi | Version: 1.2 Final Severity: Normal | Resolution: Keywords: | Php_version: PHP 5 Cake_version: 1.2.1.8004 | ---------------------------+------------------------------------------------ Comment (by mark_story):
So I'm still having some issues reproducing your issue. I followed your instructions, and I didn't get any errors. I attempted both with mysql and mysqli drivers. In both cases my fixture rendered the following code {{{ #!sql 'CREATE TABLE `users` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(255) DEFAULT '' NOT NULL, `password` varchar(255) DEFAULT '' NOT NULL, `created` datetime NOT NULL, `modified` datetime NOT NULL, PRIMARY KEY (`id`)); }}} I am running mysql 5.0.67-log Source distribution. Perhaps try updating to the latest branch head and see if that solves your issue. -- Ticket URL: <https://trac.cakephp.org/ticket/6205#comment:5> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---