forked from GNUsocial/gnu-social
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:
parent
116840a80e
commit
3bf3b6686c
@ -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'),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
@ -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')
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user