From 748f497cb09fccb1eeff25b0bc41f69b44bc0f5c Mon Sep 17 00:00:00 2001
From: alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>
Date: Thu, 5 Jan 2012 08:45:22 +0000
Subject: - Fix SQL Error when saving a contact with many email addresses
 (#1488286)

git-svn-id: https://svn.roundcube.net/trunk@5711 208e9e7b-5314-0410-a742-e7e81cd9613c
---
 roundcubemail/SQL/mssql.upgrade.sql | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'roundcubemail/SQL/mssql.upgrade.sql')

diff --git a/roundcubemail/SQL/mssql.upgrade.sql b/roundcubemail/SQL/mssql.upgrade.sql
index 78efda219..336d53c65 100644
--- a/roundcubemail/SQL/mssql.upgrade.sql
+++ b/roundcubemail/SQL/mssql.upgrade.sql
@@ -244,3 +244,8 @@ GO
 ALTER TABLE [dbo].[session] ALTER COLUMN [sess_id] [varchar] (128) COLLATE Latin1_General_CI_AI NOT NULL
 GO
 
+-- Updates from version 0.7
+
+ALTER TABLE [dbo].[contacts] ALTER COLUMN [email] [text] COLLATE Latin1_General_CI_AI NOT NULL
+GO
+
-- 
cgit v1.2.3

