[eluser]The Mask[/eluser]
Hi,
In my datamapper configuration file I have the following:
$config['created_field'] = 'created';
$config['updated_field'] = 'updated';
But when I try to save a relationship, I get:
Field 'created' doesn't have a default value
INSERT INTO `users_members` (`user_id`, `application_id`) VALUES (26, 7)
Any ideas? The documentation says that the created/updated columns are taken care of and no need to set them.
Thanks