summaryrefslogtreecommitdiff
path: root/SQL/mysql/2009090400.sql
blob: fd31bed5bd1dd787db4cdd74c48726e969db7d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- Updates from version 0.3-stable

TRUNCATE `messages`;

ALTER TABLE `messages`
    ADD INDEX `index_index` (`user_id`, `cache_key`, `idx`);

ALTER TABLE `session` 
    CHANGE `vars` `vars` MEDIUMTEXT NOT NULL;

ALTER TABLE `contacts`
    ADD INDEX `user_contacts_index` (`user_id`,`email`);