From d3aa4a3b49509521d533619513d6cffcb1f418c2 Mon Sep 17 00:00:00 2001
From: prasad <prasad@vtiger.com>
Date: Thu, 18 Feb 2016 14:13:22 +0530
Subject: [PATCH] Inventory line-item comment column data-type change
 migration.

---
 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 a62a89bc6..99628c7cf 100644
--- a/modules/Migration/schema/640_to_650.php
+++ b/modules/Migration/schema/640_to_650.php
@@ -19,5 +19,8 @@ Vtiger_Utils::AddColumn('vtiger_portalinfo', 'cryptmode', 'varchar(20)');
 $updateQuery = "UPDATE vtiger_portalinfo SET user_password=MD5(user_password),cryptmode='MD5' WHERE cryptmode is null";
 $adb->pquery($updateQuery, array());
 
+//Change column type of inventory line-item comment.
+$adb->pquery("ALTER TABLE vtiger_inventoryproductrel MODIFY COLUMN comment TEXT", array());
+
 }
 
-- 
GitLab