📜  如何在mysql代码示例中添加时间戳列

📅  最后修改于: 2022-03-11 15:04:57.209000             🧑  作者: Mango

代码示例1
ALTER TABLE `table1` ADD `lastUpdated` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;