Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (24 sloc) 0.869 kB
79fe17f @thomascube Added SQLite supprt and MySQL update script
thomascube authored
1 -- RoundCube Webmail update script for MySQL databases
ac26b96 @thomascube Optimize database schema; get rid of unnecessary indexes
thomascube authored
2 -- Updates from version 0.1-stable to 0.1.1
79fe17f @thomascube Added SQLite supprt and MySQL update script
thomascube authored
3
29451cf @thomascube Truncate cache table before adding index
thomascube authored
4 TRUNCATE TABLE `messages`;
5
f7bfec9 @thomascube Finalized new message parsing. Attention: changes in database schema
thomascube authored
6 ALTER TABLE `messages`
ac26b96 @thomascube Optimize database schema; get rid of unnecessary indexes
thomascube authored
7 DROP INDEX `idx`,
8 DROP INDEX `uid`;
5870871 @thomascube Changed sql scripts to allow non-ascii chars in user names (#1483959)
thomascube authored
9
ac26b96 @thomascube Optimize database schema; get rid of unnecessary indexes
thomascube authored
10 ALTER TABLE `cache`
11 DROP INDEX `cache_key`,
12 DROP INDEX `session_id`,
13 ADD INDEX `user_cache_index` (`user_id`,`cache_key`);
6cb7786 @alecpl #1484854
alecpl authored
14
15 ALTER TABLE `users`
f5e8d23 @alecpl #1484962: typo
alecpl authored
16 ADD INDEX `username_index` (`username`),
6cb7786 @alecpl #1484854
alecpl authored
17 ADD INDEX `alias_index` (`alias`);
d7f3d79 @alecpl -Fixed Mysql DDL for default identities creation (#1485070)
alecpl authored
18
19 -- Updates from version 0.1.1
20
21 ALTER TABLE `identities`
f18911a @alecpl - #1485120 (text column can't have a default value)
alecpl authored
22 MODIFY `signature` text,
d7f3d79 @alecpl -Fixed Mysql DDL for default identities creation (#1485070)
alecpl authored
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;
c98f3b5 @alecpl #1485125: added index on messages.created
alecpl authored
28
29 -- Updates from version 0.2-alpha
30
31 ALTER TABLE `messages`
32 ADD INDEX `created_index` (`created`);
Something went wrong with that request. Please try again.