From 3b4889a86ffe3640424d2000b8b406ac17b59fe1 Mon Sep 17 00:00:00 2001
From: Alan Bell <alanbell@ubuntu.com>
Date: Mon, 25 Apr 2016 13:55:07 +0100
Subject: [PATCH] allow long emails to be stored intact fix #10

---
 modules/Migration/schema/640_to_650.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/Migration/schema/640_to_650.php b/modules/Migration/schema/640_to_650.php
index 3e38589be..cc39d3d31 100644
--- a/modules/Migration/schema/640_to_650.php
+++ b/modules/Migration/schema/640_to_650.php
@@ -55,5 +55,8 @@ $adb->pquery("Update vtiger_settings_field set linkto='index.php?parent=Settings
 $adb->pquery("Update vtiger_settings_field set linkto='index.php?module=Workflows&parent=Settings&view=List' where name='LBL_LIST_WORKFLOWS'", array());
 $adb->pquery("Update vtiger_settings_field set linkto='index.php?module=Vtiger&parent=Settings&view=ConfigEditorDetail' where name='LBL_CONFIG_EDITOR'", array());
 
+//allow large emails to be stored.
+$adb->pquery("ALTER TABLE vtiger_crmentity MODIFY COLUMN description MEDIUMTEXT", array());
+
 }
 
-- 
GitLab