mysql create timestamp column
snippet in sql

mysql CURRENT_TIMESTAMP()

user7407

CURRENT_TIMESTAMP()

mysql create timestamp column

user5199

ALTER TABLE `table1` ADD `lastUpdated` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;