Fix custom fields to allow values longer than 255 characters

[MAILPOET-1381]
This commit is contained in:
Tautvidas Sipavičius
2018-05-14 19:39:07 +03:00
parent e55aab43b5
commit 6ad6190da3

View File

@@ -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),',