Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 28 lines (21 sloc) 0.787 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`
22 MODIFY `signature` text NOT NULL DEFAULT '',
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;
Something went wrong with that request. Please try again.