1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Issue #5209 - Partial fix. Currently does not support FULLTEXT on a field that already has an INDEX.

This commit is contained in:
camer0n
2025-01-03 16:02:26 -08:00
parent 8a6919f2a3
commit 0b89d5d301
8 changed files with 111 additions and 34 deletions

View File

@@ -43,7 +43,8 @@ CREATE TABLE forum_thread (
PRIMARY KEY (`thread_id`),
KEY `thread_forum_id` (`thread_forum_id`),
KEY `thread_sticky` (`thread_sticky`),
KEY `thread_lastpost` (`thread_lastpost`)
KEY `thread_lastpost` (`thread_lastpost`),
FULLTEXT (`thread_name`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
CREATE TABLE forum_post (
@@ -65,7 +66,8 @@ CREATE TABLE forum_post (
KEY `post_thread` (`post_thread`),
KEY `post_forum` (`post_forum`),
KEY `post_datestamp` (`post_datestamp`),
KEY `post_user` (`post_user`)
KEY `post_user` (`post_user`),
FULLTEXT (`post_entry`)
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
CREATE TABLE forum_track (