From 9c4ac12b1acad14429a0852f16249a71a1789a14 Mon Sep 17 00:00:00 2001
From: Uma <uma.s@vtiger.com>
Date: Tue, 17 Mar 2020 20:57:56 +0530
Subject: [PATCH] Fixes #1248 vtiger_systems server pwd updated to text data
 type

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

diff --git a/modules/Migration/schema/720_to_721.php b/modules/Migration/schema/720_to_721.php
index 0e14acc38..16d263c53 100644
--- a/modules/Migration/schema/720_to_721.php
+++ b/modules/Migration/schema/720_to_721.php
@@ -79,4 +79,7 @@ if (defined('VTIGER_UPGRADE')) {
 
     $db->pquery('INSERT INTO vtiger_date_format (date_format, sortorderid, presence) VALUES (?, ?, ?)', ['dd.mm.yyyy', 3, 1]);
     $db->pquery('INSERT INTO vtiger_date_format (date_format, sortorderid, presence) VALUES (?, ?, ?)', ['dd/mm/yyyy', 4, 1]);
+    
+    //#1248 => updated vtiger_systems.server_password to TEXT
+    $db->pquery('ALTER TABLE vtiger_systems MODIFY server_password text', array());
 }
\ No newline at end of file
-- 
GitLab