summaryrefslogtreecommitdiff
path: root/db/laconica.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/laconica.sql')
-rw-r--r--db/laconica.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index f7813b95d..ad4ae6983 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -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 (