Committed by
BaiFu
hotfix(database): fix `source_keyword` not in table bilibili_video
Fix: #51
Showing
1 changed file
with
6 additions
and
13 deletions
| @@ -455,19 +455,12 @@ CREATE TABLE tieba_comment | @@ -455,19 +455,12 @@ CREATE TABLE tieba_comment | ||
| 455 | KEY `idx_tieba_comment_publish_time` (`publish_time`) | 455 | KEY `idx_tieba_comment_publish_time` (`publish_time`) |
| 456 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='贴吧评论表'; | 456 | ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='贴吧评论表'; |
| 457 | 457 | ||
| 458 | --- 增加搜索来源关键字字段 | ||
| 459 | -alter table bilibili_video | ||
| 460 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 461 | -alter table douyin_aweme | ||
| 462 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 463 | -alter table kuaishou_video | ||
| 464 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 465 | -alter table weibo_note | ||
| 466 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 467 | -alter table xhs_note | ||
| 468 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 469 | -alter table tieba_note | ||
| 470 | - add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | 458 | +alter table bilibili_video add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; |
| 459 | +alter table douyin_aweme add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 460 | +alter table kuaishou_video add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 461 | +alter table weibo_note add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 462 | +alter table xhs_note add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 463 | +alter table tieba_note add column `source_keyword` varchar(255) default '' comment '搜索来源关键字'; | ||
| 471 | 464 | ||
| 472 | 465 | ||
| 473 | DROP TABLE IF EXISTS `weibo_creator`; | 466 | DROP TABLE IF EXISTS `weibo_creator`; |
-
Please register or login to post a comment