1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-06-06 23:46:47 +02:00
2017-02-21 22:27:11 +01:00

8 lines
219 B
SQL

-- Updates from version 0.4.2
DROP INDEX users_username_id_idx;
ALTER TABLE users ADD CONSTRAINT users_username_key UNIQUE (username, mail_host);
ALTER TABLE contacts ALTER email TYPE varchar(255);
TRUNCATE messages;