时间字段设置默认值

alter table 表名 MODIFY column 时间字段名 datetime default CURRENT_TIMESTAMP;

原文地址:https://www.cnblogs.com/TheoryDance/p/12552952.html