i have field
updated` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
and do not specify it in the form
how update this field insensibly?
Try this script: CREATE TABLE t1 ( a int, ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP );
insert into t1 values(1,CURRENT_TIMESTAMP);
It's work.
more info below : https://dev.mysql.com/doc/refman/5.6/en/timestamp-initialization.html