1.不自动更新
operatetime
timestamp NULL DEFAULT CURRENT_TIMESTAMP,
2.自动跟新
operatetime
timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
1.不自动更新
operatetime
timestamp NULL DEFAULT CURRENT_TIMESTAMP,
2.自动跟新
operatetime
timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,