alecpl
2011-02-15 ab0b51a1fef87bcc643c3aaf2e635c811b28ccd8
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);
@@ -97,7 +98,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);
-- --------------------------------------------------------