table csdn_ask modified
This commit is contained in:
parent
1ba71c18da
commit
7c21e9b775
|
@ -10,7 +10,7 @@ Target Server Type : MYSQL
|
|||
Target Server Version : 50615
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 2016-01-23 08:42:23
|
||||
Date: 2016-01-23 12:52:05
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
@ -61,7 +61,7 @@ CREATE TABLE `apache` (
|
|||
KEY `extractTimeIdx` (`extracted_time`) USING BTREE,
|
||||
KEY `stars_name` (`name`) USING BTREE,
|
||||
KEY `download_name` (`name`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for cnblog_news
|
||||
|
@ -87,7 +87,7 @@ CREATE TABLE `cnblog_news` (
|
|||
`related_posts` text,
|
||||
`cnblog_news_source` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=189 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for cnblog_question
|
||||
|
@ -142,38 +142,6 @@ CREATE TABLE `codeproject` (
|
|||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for csdn_ask
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `csdn_ask`;
|
||||
CREATE TABLE `csdn_ask` (
|
||||
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`issueId` int(11) NOT NULL,
|
||||
`url` varchar(200) NOT NULL,
|
||||
`deal_title` varchar(500) NOT NULL,
|
||||
`tags` varchar(200) DEFAULT NULL,
|
||||
`content` mediumtext,
|
||||
`vote_num` mediumint(8) DEFAULT NULL,
|
||||
`reply_num` mediumint(8) unsigned DEFAULT NULL,
|
||||
`created_time` datetime NOT NULL,
|
||||
`extractTime` datetime NOT NULL,
|
||||
`author` varchar(100) DEFAULT NULL,
|
||||
`author_url` varchar(250) DEFAULT NULL,
|
||||
`pageMD5` varchar(100) NOT NULL,
|
||||
`history` tinyint(2) unsigned NOT NULL,
|
||||
`view_num` int(11) DEFAULT NULL,
|
||||
`collection_num` int(11) DEFAULT NULL,
|
||||
`abstract` varchar(255) DEFAULT NULL,
|
||||
`type` varchar(255) DEFAULT NULL,
|
||||
`crawled_time` datetime DEFAULT NULL,
|
||||
`category` varchar(255) DEFAULT NULL,
|
||||
`source` varchar(255) DEFAULT NULL,
|
||||
`last_time` datetime DEFAULT NULL,
|
||||
`url_md5` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `extractIdx` (`extractTime`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=199369 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for csdn_bbs
|
||||
-- ----------------------------
|
||||
|
@ -226,7 +194,34 @@ CREATE TABLE `csdn_blogs` (
|
|||
`related_posts` text,
|
||||
`related_topics` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for csdn_question
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `csdn_question`;
|
||||
CREATE TABLE `csdn_question` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`content` longtext,
|
||||
`created_time` datetime DEFAULT NULL,
|
||||
`type` varchar(100) DEFAULT NULL,
|
||||
`tags` varchar(255) DEFAULT NULL,
|
||||
`url` varchar(255) NOT NULL,
|
||||
`url_md5` varchar(34) DEFAULT NULL,
|
||||
`author` varchar(100) DEFAULT NULL,
|
||||
`author_url` varchar(150) DEFAULT NULL,
|
||||
`category` varchar(255) DEFAULT NULL,
|
||||
`view_num` int(11) unsigned DEFAULT NULL,
|
||||
`review_num` int(11) unsigned DEFAULT NULL,
|
||||
`extracted_time` datetime NOT NULL,
|
||||
`star_num` int(11) DEFAULT NULL,
|
||||
`source` varchar(255) DEFAULT NULL,
|
||||
`same_num` int(11) DEFAULT NULL,
|
||||
`related_posts` text,
|
||||
`related_documents` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for dewen_question
|
||||
|
@ -277,7 +272,7 @@ CREATE TABLE `freecode_project` (
|
|||
KEY `extractTimeIdx` (`extracted_time`),
|
||||
KEY `stars_name` (`name`) USING BTREE,
|
||||
KEY `download_name` (`name`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for iteye_blog
|
||||
|
@ -303,7 +298,7 @@ CREATE TABLE `iteye_blog` (
|
|||
`blog_category` varchar(255) DEFAULT NULL,
|
||||
`source` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for job_requirements
|
||||
|
@ -407,7 +402,7 @@ CREATE TABLE `openhub_project` (
|
|||
KEY `extractTimeIdx` (`extracted_time`),
|
||||
KEY `stars_name` (`name`) USING BTREE,
|
||||
KEY `download_name` (`rate_num`,`name`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for oschina_project
|
||||
|
@ -436,7 +431,7 @@ CREATE TABLE `oschina_project` (
|
|||
KEY `extractTimeIdx` (`extracted_time`),
|
||||
KEY `stars_name` (`name`) USING BTREE,
|
||||
KEY `download_name` (`user_num`,`name`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for oschina_question
|
||||
|
@ -527,7 +522,7 @@ CREATE TABLE `sourceforge_project` (
|
|||
KEY `extractTimeIdx` (`extracted_time`),
|
||||
KEY `stars_name` (`name`) USING BTREE,
|
||||
KEY `download_name` (`download_num`,`name`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for stackoverflow
|
||||
|
@ -556,4 +551,4 @@ CREATE TABLE `stackoverflow` (
|
|||
`edited_time` datetime DEFAULT NULL,
|
||||
`related_posts` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8;
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8;
|
||||
|
|
Loading…
Reference in New Issue