Commit 4e2be072 authored by mmn's avatar mmn

Better indexing for Notice (performance++)

parent 23bb45b8
......@@ -111,6 +111,8 @@ class Notice extends Managed_DataObject
'notice_repeat_of_created_id_idx' => array('repeat_of', 'created', 'id'),
'notice_conversation_created_id_idx' => array('conversation', 'created', 'id'),
'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')
)
);
......
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