From fcafc032c8f27d162a821da60789078e71056174 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Thu, 16 Jan 2020 07:54:03 +1300 Subject: [PATCH] Change column type for referer_url from text to varchar (#14847) * Change column type for referer_url from text to varchar refs https://github.com/matomo-org/matomo/issues/14535 * Update ReferrerUrl.php --- plugins/Referrers/Columns/ReferrerUrl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Referrers/Columns/ReferrerUrl.php b/plugins/Referrers/Columns/ReferrerUrl.php index 0c4401105e3..d98d4591d3f 100644 --- a/plugins/Referrers/Columns/ReferrerUrl.php +++ b/plugins/Referrers/Columns/ReferrerUrl.php @@ -16,7 +16,7 @@ class ReferrerUrl extends Base { protected $columnName = 'referer_url'; - protected $columnType = 'TEXT NULL'; + protected $columnType = 'VARCHAR(4000) NULL'; protected $type = self::TYPE_TEXT; protected $segmentName = 'referrerUrl'; protected $nameSingular = 'Live_Referrer_URL';