summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-22 16:53:35 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-22 16:53:35 -0400
commit0dac70d010ae6a4769af35a3aab9fd70e420f525 (patch)
tree8f4146b4f2bd4cdf8e1a020e3cb0b04a4e7c6355 /db
parent49f30e23a34d59cc9784c256ffebbf586adc0970 (diff)
Index on the correct column
darcs-hash:20080722205335-533db-d7b4a6c727305cffedc443b5bfa15779a685d03a.gz
Diffstat (limited to 'db')
-rw-r--r--db/laconica.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/laconica.sql b/db/laconica.sql
index ae5184778..5869297cc 100644
--- a/db/laconica.sql
+++ b/db/laconica.sql
@@ -108,8 +108,7 @@ create table notice (
source varchar(8) comment 'source of comment, like "web", "im", or "clientname"',
index notice_profile_id_idx (profile_id),
- index notice_created_idx (profile_id),
-
+ index notice_created_idx (created),
FULLTEXT(content)
) ENGINE=MyISAM;