how to add timestamp column in mysql
snippet in sql

how to add timestamp column in mysql

user8320

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