diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-18 09:02:35 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-18 09:02:35 +0000 |
| commit | 8219df7241e3c96bb6b7f9abfa057b8a64b1839f (patch) | |
| tree | 98c1a74c5e98c4d2d0fa76f3344acb5d3bf04ecb /roundcubemail/SQL/sqlite.initial.sql | |
| parent | 68000ee62bccc327ce4b9d90da3d4e6c8bf178f4 (diff) | |
- Cache synchronization using QRESYNC/CONDSTORE
- Fixed message ID updates in cache
- Changed message flags handling + some fixes (e.g. fixed messages listing after delete)
git-svn-id: https://svn.roundcube.net/trunk@5233 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/SQL/sqlite.initial.sql')
| -rw-r--r-- | roundcubemail/SQL/sqlite.initial.sql | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/roundcubemail/SQL/sqlite.initial.sql b/roundcubemail/SQL/sqlite.initial.sql index 7ec82015d..80c82a1a1 100644 --- a/roundcubemail/SQL/sqlite.initial.sql +++ b/roundcubemail/SQL/sqlite.initial.sql @@ -159,6 +159,7 @@ CREATE TABLE cache_index ( user_id integer NOT NULL, mailbox varchar(255) NOT NULL, changed datetime NOT NULL default '0000-00-00 00:00:00', + valid smallint NOT NULL DEFAULT '0', data text NOT NULL, PRIMARY KEY (user_id, mailbox) ); @@ -193,12 +194,7 @@ CREATE TABLE cache_messages ( uid integer NOT NULL, changed datetime NOT NULL default '0000-00-00 00:00:00', data text NOT NULL, - seen smallint NOT NULL DEFAULT '0', - deleted smallint NOT NULL DEFAULT '0', - answered smallint NOT NULL DEFAULT '0', - forwarded smallint NOT NULL DEFAULT '0', - flagged smallint NOT NULL DEFAULT '0', - mdnsent smallint NOT NULL DEFAULT '0', + flags integer NOT NULL DEFAULT '0', PRIMARY KEY (user_id, mailbox, uid) ); |
