mysql timestamp的默认值

当default 0,default '0000-00-00 00:00:00'都失效的时候,请尝试下

ALTER table `coupon_gift` add column `time_end` timestamp NOT NULL DEFAULT '1970-01-01 10:00:00';

 

posted @ 2018-12-19 14:52  泥土里的绽放  阅读(1706)  评论(1编辑  收藏  举报