我执行了下面的查询
ALTER TABLE `users` CHANGE `phone` `phone` VARCHAR( 20 )
CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT NULL
结果是……
#1067 - Invalid default value for 'phone'
我执行了下面的查询
ALTER TABLE `users` CHANGE `phone` `phone` VARCHAR( 20 )
CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT NULL
结果是……
#1067 - Invalid default value for 'phone'