You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
493 B
13 lines
493 B
|
|
CREATE TABLE IF NOT EXISTS `category` (
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(255) DEFAULT NULL,
|
|
`belongto` varchar(255) DEFAULT NULL,
|
|
`about` varchar(255) DEFAULT NULL,
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
|
|
|
|
INSERT INTO `category` set id='1', name='html', belongto='0', about='22';
|
|
INSERT INTO `category` set id='2', name='css', belongto='0', about='2256';
|
|
INSERT INTO `category` set id='3', name='js', belongto='1', about='5422';
|