From 8254d9c7cb5807d8c0b5112b318cef8a38634c55 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 25 May 2011 06:12:06 -0400 Subject: [PATCH] - A little better fix for radiobuttons in popupmenu (previous solution breaks other popup windows, e.g. from acl plugin) --- SQL/sqlite.initial.sql | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/SQL/sqlite.initial.sql b/SQL/sqlite.initial.sql index e7faeed..d2885e9 100644 --- a/SQL/sqlite.initial.sql +++ b/SQL/sqlite.initial.sql @@ -28,10 +28,11 @@ changed datetime NOT NULL default '0000-00-00 00:00:00', del tinyint NOT NULL default '0', name varchar(128) NOT NULL default '', - email varchar(128) NOT NULL default '', + 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); @@ -54,6 +55,8 @@ created datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (contactgroup_id, contact_id) ); + +CREATE INDEX ix_contactgroupmembers_contact_id ON contactgroupmembers (contact_id); -- -------------------------------------------------------- @@ -97,7 +100,7 @@ preferences text NOT NULL default '' ); -CREATE INDEX ix_users_username ON users(username); +CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host); CREATE INDEX ix_users_alias ON users(alias); -- -------------------------------------------------------- -- Gitblit v1.9.1