标签:comment com _id not update time current primary rem
CREATE TABLE `t_category` (
`category_id` int(11) NOT NULL AUTO_INCREMENT,
`category_name` varchar(32) NOT NULL DEFAULT ‘‘,
`parent_id` int(11) NOT NULL DEFAULT ‘-1‘,
`category_state` tinyint(4) NOT NULL DEFAULT ‘1‘ COMMENT ‘1上线,0不上线‘,
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`category_id`),
UNIQUE KEY `category_name` (`category_name`)
)
标签:comment com _id not update time current primary rem
原文地址:http://www.cnblogs.com/panxuejun/p/7353335.html