diff options
| author | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
|---|---|---|
| committer | Tristan Zur <tzur@web.web.ccwn.org> | 2014-03-27 22:27:47 +0100 |
| commit | b62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch) | |
| tree | 86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /webmail/SQL/mysql/2008030300.sql | |
Diffstat (limited to 'webmail/SQL/mysql/2008030300.sql')
| -rw-r--r-- | webmail/SQL/mysql/2008030300.sql | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/webmail/SQL/mysql/2008030300.sql b/webmail/SQL/mysql/2008030300.sql new file mode 100644 index 0000000..9a3d048 --- /dev/null +++ b/webmail/SQL/mysql/2008030300.sql @@ -0,0 +1,16 @@ +-- Updates from version 0.1-stable + +TRUNCATE TABLE `messages`; + +ALTER TABLE `messages` + DROP INDEX `idx`, + DROP INDEX `uid`; + +ALTER TABLE `cache` + DROP INDEX `cache_key`, + DROP INDEX `session_id`, + ADD INDEX `user_cache_index` (`user_id`,`cache_key`); + +ALTER TABLE `users` + ADD INDEX `username_index` (`username`), + ADD INDEX `alias_index` (`alias`); |
