Better indexing for Notice (performance++)

This commit is contained in:
Mikael Nordfeldth 2016-03-29 12:13:33 +02:00
parent 23bb45b845
commit 4e2be07234

View File

@ -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')
)
);