]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add an index to subscription token
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 22 Oct 2008 19:27:50 +0000 (15:27 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 22 Oct 2008 19:27:50 +0000 (15:27 -0400)
darcs-hash:20081022192750-5ed1f-3265f9f4954cff431a0c276c16a98b9c22d8d40b.gz

db/laconica.sql

index f7813b95de57ab2acace5b4d1fcc522a32d4213f..ad4ae6983097b68744ef656f2a8a6e2a4465e249 100644 (file)
@@ -92,7 +92,8 @@ create table subscription (
 
     constraint primary key (subscriber, subscribed),
     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;
 
 create table notice (