From: Mikael Nordfeldth Date: Thu, 7 Jan 2016 10:39:46 +0000 (+0100) Subject: Index the verb column since we do COUNT(*) based on it X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=94392ab00ceefec6105ac7d6e6846fb644bbd0f1;p=quix0rs-gnu-social.git Index the verb column since we do COUNT(*) based on it --- diff --git a/classes/Notice.php b/classes/Notice.php index 208e4be9a7..f85e9ea233 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -110,6 +110,7 @@ class Notice extends Managed_DataObject 'notice_profile_id_idx' => array('profile_id', 'created', 'id'), '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_replyto_idx' => array('reply_to') ) );