* fix for searchindex table fulltext index.

This commit is contained in:
wangyidong
2022-08-04 09:40:58 +08:00
parent d4c95e6e9c
commit c98ee9e323
+1 -2
View File
@@ -1352,8 +1352,7 @@ CREATE TABLE IF NOT EXISTS `zt_searchindex` (
PRIMARY KEY (`id`),
UNIQUE KEY `object` (`objectType`,`objectID`),
KEY `addedDate` (`addedDate`),
FULLTEXT KEY `content` (`content`),
FULLTEXT KEY `title` (`title`)
FULLTEXT KEY `title_content` (`title`, `content`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- DROP TABLE IF EXISTS `zt_stage`;
CREATE TABLE IF NOT EXISTS `zt_stage` (