annotate SQL/sqlite/2009090400.sql @ 4:1ab920879b88
do date sort if sorting on dates, to get sub-threads in date order. See also thunderbird-labels.php:407 et seq.
| author |
Charlie Root |
| date |
Thu, 18 Jan 2018 07:47:04 -0500 |
| parents |
4681f974d28b |
| children |
|
| rev |
line source |
|
0
|
1 -- Updates from version 0.3-stable
|
|
|
2
|
|
|
3 DELETE FROM messages;
|
|
|
4 DROP INDEX ix_messages_user_cache_uid;
|
|
|
5 CREATE UNIQUE INDEX ix_messages_user_cache_uid ON messages (user_id,cache_key,uid);
|
|
|
6 CREATE INDEX ix_messages_index ON messages (user_id,cache_key,idx);
|
|
|
7 DROP INDEX ix_contacts_user_id;
|
|
|
8 CREATE INDEX ix_contacts_user_id ON contacts(user_id, email);
|