`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

update_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, MySQL数据库表中, 字段类型为timestamp时。如果默认值为CURRENT_TIMESTAMP,勾选了根据当前时间戳更新。在insert into一条记录时,自动获取系统时间。当其它字段发生update时,自动更新为系统
相关文章
相关标签/搜索