mailcow/data/web/rc/SQL/mysql/2010100600.sql

9 lines
239 B
MySQL
Raw Normal View History

2017-02-21 22:27:11 +01:00
-- 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`;