设置 Mysql中的datetime的默认值

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

posted @ 2018-11-01 11:22  panchanggui  阅读(7442)  评论(0编辑  收藏  举报