设置 Mysql中的datetime的默认值

如果在navicat下操作,将字段类型设置为timestamp,然后默认值写上CURRENT_TIMESTAMP即可

原文地址:https://www.cnblogs.com/panchanggui/p/9888233.html