Fulltext search over contact fields. Attention: DATABASE SCHEMA CHANGED\!

This commit is contained in:
thomascube
2011-02-14 20:46:48 +00:00
parent fc2d3de769
commit 3e2637351d
15 changed files with 183 additions and 17 deletions

View File

@@ -31,7 +31,8 @@ CREATE TABLE contacts (
email varchar(255) NOT NULL default '',
firstname varchar(128) NOT NULL default '',
surname varchar(128) NOT NULL default '',
vcard text NOT NULL default ''
vcard text NOT NULL default '',
words text NOT NULL default ''
);
CREATE INDEX ix_contacts_user_id ON contacts(user_id, email);