From: Seamus Lee Date: Fri, 11 Dec 2015 07:58:08 +0000 (+0000) Subject: CRM-17693 Increase default string table size to be 255. 255 Characters seems fairly... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fe66d6ea0707fe0fbbdad28190ced364357d8072;p=civicrm-core.git CRM-17693 Increase default string table size to be 255. 255 Characters seems fairly common on the db and matches max length of contribution page title --- diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 44e150f172..7ce5e0a555 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1390,7 +1390,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c $sqlColumns[$fieldName] = "$fieldName varchar({$query->_fields[$field]['maxlength']})"; } else { - $sqlColumns[$fieldName] = "$fieldName varchar(64)"; + $sqlColumns[$fieldName] = "$fieldName varchar(255)"; } break;