summaryrefslogtreecommitdiff
path: root/db/statusnet.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r--db/statusnet.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql
index 3ed4e2c48..510c8866e 100644
--- a/db/statusnet.sql
+++ b/db/statusnet.sql
@@ -165,7 +165,7 @@ create table fave (
constraint primary key (notice_id, user_id),
index fave_notice_id_idx (notice_id),
- index fave_user_id_idx (user_id),
+ index fave_user_id_idx (user_id,modified),
index fave_modified_idx (modified)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;