MySQL语句:
insert into `banners`
(`path`, `app_id`, `enabled`, `from_date`, `to_date`, `updated_at`, `created_at`)
values
('banners/example.png', 'com.example.ccp_attacker', 1, '2000-01-01 00:00:00', '2099-12-31 00:00:00', '2100-06-04 00:00:00', '2100-06-04 00:00:00')
产生错误 #1292 - 在第1行的'updated_at'列中,时间值不正确:'2100-06-04 00:00:00'
为什么2100年6月4日00:00:00不是一个有效的时间?
updated_at
是一个TIMESTAMP
列吗? - mendosi