I\'m using PHPMyAdmin and I\'ve got a MySQL table column called \"timestamp.\" The type (surprise!) is TIMESTAMP, and in \'attributes\' I\'ve set it to ON UPD
TIMESTAMP
ON UPD
If your timestamp column captures only the insertion time then use only
timestamp
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP
Otherwise if it is for modification time then use like as follows
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP