mysql 创建字段createtime 自动添加时间

1. 创建createtime字段

类型选为timestamp

2.  添加默认值

CURRENT_TIMESTAMP

原文地址:https://www.cnblogs.com/naturl/p/14192652.html