Update 20170313 upgrade.md
Showing
1 changed file
with
6 additions
and
0 deletions
1 | # 1. DB部分 | 1 | # 1. DB部分 |
2 | - yhb_search新建suggest_conversion表 | 2 | - yhb_search新建suggest_conversion表 |
3 | 3 | ||
4 | + | ||
4 | DROP TABLE IF EXISTS `suggest_conversion`; | 5 | DROP TABLE IF EXISTS `suggest_conversion`; |
5 | CREATE TABLE `suggest_conversion` ( | 6 | CREATE TABLE `suggest_conversion` ( |
6 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自动增长的唯一主键', | 7 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自动增长的唯一主键', |
@@ -11,12 +12,16 @@ | @@ -11,12 +12,16 @@ | ||
11 | UNIQUE KEY `IDX_SUGGEST_CONVERSION_SOURCE` (`source`) | 12 | UNIQUE KEY `IDX_SUGGEST_CONVERSION_SOURCE` (`source`) |
12 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; | 13 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; |
13 | 14 | ||
15 | + | ||
14 | - yhb_search新建spider_content表并从测试环境导入爬虫数据 | 16 | - yhb_search新建spider_content表并从测试环境导入爬虫数据 |
15 | 17 | ||
18 | + | ||
16 | SQL文件见附件 spider_content_20170313.sql | 19 | SQL文件见附件 spider_content_20170313.sql |
17 | 20 | ||
21 | + | ||
18 | - yhb_search和yhb_operations新建suggest_conversion_custom表 | 22 | - yhb_search和yhb_operations新建suggest_conversion_custom表 |
19 | 23 | ||
24 | + | ||
20 | DROP TABLE IF EXISTS `suggest_conversion_custom`; | 25 | DROP TABLE IF EXISTS `suggest_conversion_custom`; |
21 | CREATE TABLE `suggest_conversion_custom` ( | 26 | CREATE TABLE `suggest_conversion_custom` ( |
22 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自动增长的唯一主键', | 27 | `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '自动增长的唯一主键', |
@@ -28,6 +33,7 @@ | @@ -28,6 +33,7 @@ | ||
28 | UNIQUE KEY `IDX_SUGGEST_CONVERSION_SOURCE` (`source`) | 33 | UNIQUE KEY `IDX_SUGGEST_CONVERSION_SOURCE` (`source`) |
29 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; | 34 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4; |
30 | 35 | ||
36 | + | ||
31 | # 2. Canal部分 | 37 | # 2. Canal部分 |
32 | - operations文件夹里面增加监听suggest_conversion_custom表 | 38 | - operations文件夹里面增加监听suggest_conversion_custom表 |
33 | 39 |
-
Please register or login to post a comment