We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 1acb0c22 authored by Zach Copley's avatar Zach Copley

Remove fulltext indexes from notice and profile tables. The default

for fulltext search is 'like' (MySQLLikeSearch) which doesn't require
them.
parent a394f795
...@@ -127,9 +127,6 @@ class Notice extends Managed_DataObject ...@@ -127,9 +127,6 @@ class Notice extends Managed_DataObject
'notice_created_idx' => array('created'), 'notice_created_idx' => array('created'),
'notice_replyto_idx' => array('reply_to'), 'notice_replyto_idx' => array('reply_to'),
'notice_repeatof_idx' => array('repeat_of'), 'notice_repeatof_idx' => array('repeat_of'),
),
'fulltext indexes' => array(
'content' => array('content'),
) )
); );
} }
......
...@@ -72,10 +72,7 @@ class Profile extends Managed_DataObject ...@@ -72,10 +72,7 @@ class Profile extends Managed_DataObject
'primary key' => array('id'), 'primary key' => array('id'),
'indexes' => array( 'indexes' => array(
'profile_nickname_idx' => array('nickname'), 'profile_nickname_idx' => array('nickname'),
), )
'fulltext indexes' => array(
'nickname' => array('nickname', 'fullname', 'location', 'bio', 'homepage')
),
); );
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment