alecpl
2011-07-05 9d195d6e82c3be4e543a47ef8ff1e9fe54bd0939
SQL/sqlite.initial.sql
@@ -1,4 +1,4 @@
-- RoundCube Webmail initial database structure
-- Roundcube Webmail initial database structure
-- 
-- Table structure for table `cache`
@@ -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);
-- --------------------------------------------------------