Remove fulltext indexes from notice and profile tables. The default

for fulltext search is 'like' (MySQLLikeSearch) which doesn't require
them.
This commit is contained in:
Zach Copley 2011-09-18 14:17:41 -07:00
parent 5463c7f4f5
commit 56c6315968
2 changed files with 1 additions and 7 deletions

View File

@ -127,9 +127,6 @@ class Notice extends Managed_DataObject
'notice_created_idx' => array('created'),
'notice_replyto_idx' => array('reply_to'),
'notice_repeatof_idx' => array('repeat_of'),
),
'fulltext indexes' => array(
'content' => array('content'),
)
);
}

View File

@ -72,10 +72,7 @@ class Profile extends Managed_DataObject
'primary key' => array('id'),
'indexes' => array(
'profile_nickname_idx' => array('nickname'),
),
'fulltext indexes' => array(
'nickname' => array('nickname', 'fullname', 'location', 'bio', 'homepage')
),
)
);
}