]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Better indexing for Notice (performance++)
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:13:33 +0000 (12:13 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:13:33 +0000 (12:13 +0200)
classes/Notice.php

index 256eb61663aa2c8c9ad51dd0774250da48fda4b8..6a747e5f5f218c89dca67b0377b5b2049d428b1a 100644 (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')
             )
         );