如果在navicat下操作,将字段类型设置为timestamp,然后默认值写上CURRENT_TIMESTAMP即可
设置 Mysql中的datetime的默认值
猜你喜欢
转载自www.cnblogs.com/panchanggui/p/9888233.html
今日推荐
周排行