summaryrefslogtreecommitdiff
path: root/SQL/mysql/2010100600.sql
blob: ca0fec858a059b033f9b92a17804d74c64315b01 (plain)
1
2
3
4
5
6
7
8
-- Updates from version 0.4.2

ALTER TABLE `users` DROP INDEX `username_index`;
ALTER TABLE `users` ADD UNIQUE `username` (`username`, `mail_host`);

ALTER TABLE `contacts` MODIFY `email` varchar(255) NOT NULL;

TRUNCATE TABLE `messages`;