mysql auto timestamp code example
Example 1: mysql CURRENT_TIMESTAMP()
CURRENT_TIMESTAMP()
Example 2: mysql create timestamp column
ALTER TABLE `table1` ADD `lastUpdated` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;