projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b23b82
)
add an index for site tags
author
Evan Prodromou
<evan@status.net>
Tue, 26 Apr 2011 17:02:12 +0000
(13:02 -0400)
committer
Evan Prodromou
<evan@status.net>
Tue, 26 Apr 2011 17:02:12 +0000
(13:02 -0400)
db/site.sql
patch
|
blob
|
history
diff --git
a/db/site.sql
b/db/site.sql
index f87995b94362c0f7ecb596475f48e0a0649329ea..c630a83d522cfdbf7c35f72adfb572d65b5b5bbb 100644
(file)
--- a/
db/site.sql
+++ b/
db/site.sql
@@
-28,6
+28,7
@@
create table status_network_tag (
tag varchar(64) comment 'tag name',
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;