MySQL使用timestamp时间自动更新问题解决
浏览量:188
id int(12) NOT NULL PRIMARY KEY AUTO_INCREMENT,
accountIp varchar(50) not null,
accountNum int(12) not null ,
accountDateFirst timestamp not null DEFAULT CURRENT_TIMESTAMP,
accountDate timestamp not null DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;


感谢支持与鼓励~