]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Index the verb column since we do COUNT(*) based on it
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 7 Jan 2016 10:39:46 +0000 (11:39 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 7 Jan 2016 10:39:46 +0000 (11:39 +0100)
classes/Notice.php

index 208e4be9a7e3c4b09b39471541b9a56f4ae310c6..f85e9ea233fe973ee01342bef56fa1156594a816 100644 (file)
@@ -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')
             )
         );