Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (41 sloc) 1.455 kb
79fe17fb »
2005-10-07 Added SQLite supprt and MySQL update script
1 -- RoundCube Webmail update script for MySQL databases
b2b8b19c »
2009-09-17 - Change MySQL data type to avoid problems with big session vars
2 -- Updates from version 0.1-stable to 0.3.1
79fe17fb »
2005-10-07 Added SQLite supprt and MySQL update script
3
29451cfc »
2007-09-11 Truncate cache table before adding index
4 TRUNCATE TABLE `messages`;
5
f7bfec96 »
2006-08-25 Finalized new message parsing. Attention: changes in database schema
6 ALTER TABLE `messages`
ac26b964 »
2008-03-25 Optimize database schema; get rid of unnecessary indexes
7 DROP INDEX `idx`,
8 DROP INDEX `uid`;
5870871a »
2007-05-17 Changed sql scripts to allow non-ascii chars in user names (#1483959)
9
ac26b964 »
2008-03-25 Optimize database schema; get rid of unnecessary indexes
10 ALTER TABLE `cache`
11 DROP INDEX `cache_key`,
12 DROP INDEX `session_id`,
13 ADD INDEX `user_cache_index` (`user_id`,`cache_key`);
6cb77869 »
2008-04-03 #1484854
14
15 ALTER TABLE `users`
f5e8d23e »
2008-04-05 #1484962: typo
16 ADD INDEX `username_index` (`username`),
6cb77869 »
2008-04-03 #1484854
17 ADD INDEX `alias_index` (`alias`);
d7f3d796 »
2008-05-19 -Fixed Mysql DDL for default identities creation (#1485070)
18
19 -- Updates from version 0.1.1
20
21 ALTER TABLE `identities`
f18911ad »
2008-06-12 - #1485120 (text column can't have a default value)
22 MODIFY `signature` text,
d7f3d796 »
2008-05-19 -Fixed Mysql DDL for default identities creation (#1485070)
23 MODIFY `bcc` varchar(128) NOT NULL DEFAULT '',
24 MODIFY `reply-to` varchar(128) NOT NULL DEFAULT '',
25 MODIFY `organization` varchar(128) NOT NULL DEFAULT '',
26 MODIFY `name` varchar(128) NOT NULL,
27 MODIFY `email` varchar(128) NOT NULL;
c98f3b5d »
2008-06-12 #1485125: added index on messages.created
28
29 -- Updates from version 0.2-alpha
30
31 ALTER TABLE `messages`
32 ADD INDEX `created_index` (`created`);
be7d3b69 »
2008-11-21 - Fix 'cache' table cleanup on session destroy (#1485516)
33
34 -- Updates from version 0.2-beta (InnoDB only)
35
36 ALTER TABLE `cache`
dcf780a6 »
2008-11-22 - fix r2076: removed cache.session_id column, removed DELETEs from ca…
37 DROP `session_id`;
38
3e48d2ee »
2008-11-21 - Increase speed of session destroy and garbage clean up
39 ALTER TABLE `session`
40 ADD INDEX `changed_index` (`changed`);
e4d9f05e »
2008-11-24 - Added index on cache.created + small fixes in mssql DDL script
41
42 ALTER TABLE `cache`
43 ADD INDEX `created_index` (`created`);
debdda01 »
2008-11-25 #1485420: remove default (and not null) for users.language column in DDL
44
45 ALTER TABLE `users`
46 CHANGE `language` `language` varchar(5);
3d601d26 »
2009-09-07 - added index in messages table
47
48 -- Updates from version 0.3-stable
49
50 ALTER TABLE `messages`
51 ADD INDEX `index_index` (`user_id`, `cache_key`, `idx`);
7fec6b2d »
2009-09-13 - "TRUNCATE messages" is required to remove buggy cache entries
52
53 TRUNCATE `messages`;
b2b8b19c »
2009-09-17 - Change MySQL data type to avoid problems with big session vars
54
55 ALTER TABLE `session`
56 CHANGE `vars` `vars` MEDIUMTEXT NOT NULL;
23b76563 »
2009-09-29 - use better index for contacts table
57
58 ALTER TABLE `contacts`
59 ADD INDEX `user_contacts_index` (`user_id`,`email`);
Something went wrong with that request. Please try again.