CREATE TABLE `test` (
`field` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
Now open the table and view the "CREATE code" tab. The ON UPDATE CURRENT_TIMESTAMP part is missing. However, a DEFAULT of CURRENT_TIMESTAMP is shown correctly.
The ON UPDATE clause is not implicitly set by MySQL, so the CREATE code is invalid.