summaryrefslogtreecommitdiff
path: root/SQL/postgres/2010100600.sql
blob: 8dfcc12dfa22ea493a60ad880adf88db78530adf (plain)
1
2
3
4
5
6
7
-- 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;