summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r--db/statusnet.sql8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 9624edd6f..8b38f9ffe 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -140,11 +140,11 @@ create table notice (
-- For api/statuses/repeats...
index notice_repeat_of_created_id_idx (repeat_of, created, id),
- -- Are these enough?
- index notice_conversation_idx (conversation),
- index notice_created_idx (created),
+ -- For conversation views
+ index notice_conversation_created_id_idx (conversation, created, id),
+
+ -- Are these needed/used?
index notice_replyto_idx (reply_to),
- index notice_repeatof_idx (repeat_of),
FULLTEXT(content)
) ENGINE=MyISAM CHARACTER SET utf8 COLLATE utf8_general_ci;