From e091d11a1ca88c570b95234b98285e967841ed05 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Sat, 20 Apr 2024 19:15:24 +0530
Subject: [PATCH] Fixes #1872: Resized shorturls handler_data column to text

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

diff --git a/modules/Migration/schema/811_to_812.php b/modules/Migration/schema/811_to_812.php
index eec2809cc..9fcc3412d 100644
--- a/modules/Migration/schema/811_to_812.php
+++ b/modules/Migration/schema/811_to_812.php
@@ -22,4 +22,7 @@ if (defined('VTIGER_UPGRADE')) {
     	}
 	}
 
+	// Resize column width to text (instead of varchar)
+	$db->pquery("ALTER TABLE vtiger_shorturls MODIFY COLUMN handler_data text");
+
 }
-- 
GitLab