设置 Mysql中的datetime的默认值

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

猜你喜欢

转载自www.cnblogs.com/panchanggui/p/9888233.html