diff options
author | Evan Prodromou <evan@status.net> | 2009-11-10 16:27:23 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-10 16:27:23 -0500 |
commit | 1f5f5474f175a8248b362f8be4ff23bb5e971305 (patch) | |
tree | c38d9b80db71ba403c61079502bc12bfe2732654 /db/statusnet.sql | |
parent | 348b155376eac2130150cd041bca9fd4799334cf (diff) | |
parent | 651cbf0681b6d263dde673ce36811710bfe553b8 (diff) |
Merge branch '0.9.x' into adminpanel
Diffstat (limited to 'db/statusnet.sql')
-rw-r--r-- | db/statusnet.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db/statusnet.sql b/db/statusnet.sql index 3ed4e2c48..2983c67cf 100644 --- a/db/statusnet.sql +++ b/db/statusnet.sql @@ -107,8 +107,8 @@ create table subscription ( modified timestamp comment 'date this record was modified', constraint primary key (subscriber, subscribed), - index subscription_subscriber_idx (subscriber), - index subscription_subscribed_idx (subscribed), + index subscription_subscriber_idx (subscriber, created), + index subscription_subscribed_idx (subscribed, created), index subscription_token_idx (token) ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; @@ -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; |