时间:2021-07-01 10:21:17 帮助过:2人阅读
alter table advertiser add `create_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ‘更新时间‘
ALTER TABLE `advertiser` CHANGE `u_time` `update_time` TIMESTAMP on update CURRENT_TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP COMMENT ‘更新时间‘;
mysql 时间自动更新
标签:tab creat null change time hang tis current alter