From 2cdaa79dce689b2dc9ef5c7bf3dcbd9446d86c21 Mon Sep 17 00:00:00 2001 From: Paweł Słowik <pawel.slowik@iq.pl> Date: Thu, 13 Sep 2012 08:24:01 -0400 Subject: [PATCH] Merge branch 'master' of https://github.com/roundcube/roundcubemail --- SQL/postgres.update.sql | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql index c96669d..11ab93b 100644 --- a/SQL/postgres.update.sql +++ b/SQL/postgres.update.sql @@ -127,7 +127,7 @@ CONSTRAINT searches_user_id_key UNIQUE (user_id, "type", name) ); -DROP SEQUENCE messages_ids; +DROP SEQUENCE message_ids; DROP TABLE messages; CREATE TABLE cache_index ( @@ -169,3 +169,17 @@ -- Updates from version 0.7-beta ALTER TABLE "session" ALTER sess_id TYPE varchar(128); + +-- Updates from version 0.7 + +DROP INDEX contacts_user_id_idx; +CREATE INDEX contacts_user_id_idx ON contacts USING btree (user_id, del); +ALTER TABLE contacts ALTER email TYPE text; + +-- Updates from version 0.8 + +ALTER TABLE cache DROP COLUMN cache_id; +DROP SEQUENCE cache_ids; + +ALTER TABLE users DROP COLUMN alias; +CREATE INDEX identities_email_idx ON identities (email, del); -- Gitblit v1.9.1