Better indexing for Notice (performance++)
This commit is contained in:
parent
23bb45b845
commit
4e2be07234
@ -111,6 +111,8 @@ class Notice extends Managed_DataObject
|
|||||||
'notice_repeat_of_created_id_idx' => array('repeat_of', 'created', 'id'),
|
'notice_repeat_of_created_id_idx' => array('repeat_of', 'created', 'id'),
|
||||||
'notice_conversation_created_id_idx' => array('conversation', 'created', 'id'),
|
'notice_conversation_created_id_idx' => array('conversation', 'created', 'id'),
|
||||||
'notice_verb_idx' => array('verb'),
|
'notice_verb_idx' => array('verb'),
|
||||||
|
'notice_profile_id_verb_idx' => array('profile_id', 'verb'),
|
||||||
|
'notice_url_idx' => array('url'), // Qvitter wants this
|
||||||
'notice_replyto_idx' => array('reply_to')
|
'notice_replyto_idx' => array('reply_to')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user