From 6ad6190da313ed19a23fcdf941389ebc0a4d5044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tautvidas=20Sipavi=C4=8Dius?= Date: Mon, 14 May 2018 19:39:07 +0300 Subject: [PATCH] Fix custom fields to allow values longer than 255 characters [MAILPOET-1381] --- lib/Config/Migrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Config/Migrator.php b/lib/Config/Migrator.php index cfcdd923f0..bf1ec536f7 100644 --- a/lib/Config/Migrator.php +++ b/lib/Config/Migrator.php @@ -200,7 +200,7 @@ class Migrator { 'id int(11) unsigned NOT NULL AUTO_INCREMENT,', 'subscriber_id int(11) unsigned NOT NULL,', 'custom_field_id int(11) unsigned NOT NULL,', - 'value varchar(255) NOT NULL DEFAULT "",', + 'value text NOT NULL,', 'created_at TIMESTAMP NULL,', 'updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,', 'PRIMARY KEY (id),',