From 73d6b2a6b07cdf43c3d2bf6f835ad1af7f7bd401 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 25 Apr 2011 05:18:57 -0400 Subject: [PATCH] Fix return value of affected_rows() --- SQL/postgres.update.sql | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SQL/postgres.update.sql b/SQL/postgres.update.sql index e3eb581..d20b1ae 100644 --- a/SQL/postgres.update.sql +++ b/SQL/postgres.update.sql @@ -85,12 +85,12 @@ -- Updates from version 0.4.2 DROP INDEX users_username_id_idx; -ALTER TABLE users ADD UNIQUE (username, mail_host); +ALTER TABLE users ADD CONSTRAINT users_username_key UNIQUE (username, mail_host); ALTER TABLE contacts ALTER email TYPE varchar(255); TRUNCATE messages; --- Updates from version 0.5.x +-- Updates from version 0.5.1 ALTER TABLE contacts ADD words TEXT NULL; CREATE INDEX contactgroupmembers_contact_id_idx ON contactgroupmembers (contact_id); -- Gitblit v1.9.1