add an index for site tags

This commit is contained in:
Evan Prodromou 2011-04-26 13:02:12 -04:00
parent 5b23b82b0d
commit 937521a1c6
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ create table status_network_tag (
tag varchar(64) comment 'tag name', tag varchar(64) comment 'tag name',
created datetime not null comment 'date the record was created', created datetime not null comment 'date the record was created',
constraint primary key (site_id, tag) constraint primary key (site_id, tag),
index status_network_tag_tag_idx (tag)
) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci; ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;