mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
#5209: Add full-text indexes to table comments
`e107_handlers/search/search_comment.php` hasn't been migrated to
e107 v2 standards yet, so we forgot to add indexes of the search
fields specified here:
a3c04d6b1d/e107_handlers/search/search_comment.php (L67)
This commit is contained in:
@@ -103,7 +103,9 @@ CREATE TABLE comments (
|
||||
comment_share tinyint(1) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (comment_id),
|
||||
KEY comment_blocked (comment_blocked),
|
||||
KEY comment_author_id (comment_author_id)
|
||||
KEY comment_author_id (comment_author_id),
|
||||
FULLTEXT (comment_comment),
|
||||
FULLTEXT (comment_author_name)
|
||||
) ENGINE=InnoDB;
|
||||
# --------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user