- use better index for contacts table

This commit is contained in:
alecpl
2009-09-29 07:59:25 +00:00
parent 05d18da660
commit 23b76563dc
6 changed files with 10 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ CREATE TABLE contacts (
vcard text NOT NULL default ''
);
CREATE INDEX ix_contacts_user_id ON contacts(user_id);
CREATE INDEX ix_contacts_user_id ON contacts(user_id, email);
-- --------------------------------------------------------