1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

comment表添加索引

This commit is contained in:
2022-11-09 14:12:31 +08:00
parent f22a9c5228
commit f4cdef2935
3 changed files with 28 additions and 7 deletions

View File

@@ -166,7 +166,8 @@ CREATE TABLE `comment` (
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '爬取时间',
`modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
PRIMARY KEY (`comment_id`),
KEY `song_id` (`song_id`)
KEY `song_id` (`song_id`),
KEY `user_id`(`user_id`)
);
CREATE TABLE `comment_progress` (