summaryrefslogtreecommitdiff
path: root/db/statusnet_pg.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/statusnet_pg.sql')
-rw-r--r--db/statusnet_pg.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/statusnet_pg.sql b/db/statusnet_pg.sql
index 0e5e96c32..710883e57 100644
--- a/db/statusnet_pg.sql
+++ b/db/statusnet_pg.sql
@@ -171,7 +171,7 @@ create table fave (
);
create index fave_notice_id_idx on fave using btree(notice_id);
-create index fave_user_id_idx on fave using btree(user_id);
+create index fave_user_id_idx on fave using btree(user_id,modified);
create index fave_modified_idx on fave using btree(modified);
/* tables for OAuth */