add an index to subscription token

darcs-hash:20081022192750-5ed1f-3265f9f4954cff431a0c276c16a98b9c22d8d40b.gz
This commit is contained in:
Evan Prodromou 2008-10-22 15:27:50 -04:00
parent 85b9e58e53
commit b26477d787

View File

@ -92,7 +92,8 @@ create table subscription (
constraint primary key (subscriber, subscribed), constraint primary key (subscriber, subscribed),
index subscription_subscriber_idx (subscriber), index subscription_subscriber_idx (subscriber),
index subscription_subscribed_idx (subscribed) index subscription_subscribed_idx (subscribed),
index subscription_token_idx (token)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin; ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_bin;
create table notice ( create table notice (