I am wondering how to reset a field to the DEFAULT
value (the one set in MySQL structure) when performing an update action in CakePHP. Like using the DEFAULT
keyword in SQL:
INSERT INTO items (position) VALUES (DEFAULT);
edit: I am not searching for a way to use the default on create, I am rather looking for a way to reset the field to it's default when it has been already used.