Redbean O/RM store “date” as varchar(255)?
From this code: $toolbox = RedBean_Setup::kickstartDev("mysql:*****************"); $r = $toolbox->getRedBean(); $test = $r->dispense("test"); $test->nom = 'Test #1'; $test->date = '2010-07-08'; $test->date_deux = '08/07/2010'; $test->num = 5; $id = $r->store( $test ); I get this SQL: CREATE TABLE IF NOT EXISTS `test` ( `id` int(11) unsigned NOT NULL auto_increment, `nom` varchar(255) collate utf8_unicode_ci default NULL, `date` varchar(255) collate utf8_unicode_ci default NULL, `num` tinyint(3) unsigned default NULL, `date_deux` varchar(255) collate utf8_unicode_ci default NULL, PRIMARY KEY (