civicrm_queue_item.data field holds information about the task in the
job queue that is going to be excuted. But if we are using queues to
import large data (as we might do in an extension such as
nz.co.fuzion.csvimport) then the current field type might not be able to
handle the data size. So here I am changing it from TEXT to LONGTEXT to
accomdate for such cases.
*
* Generated from xml/schema/CRM/Queue/QueueItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e720570f92fa1a377b108e5fdacf046f)
+ * (GenCodeChecksum:cb6bf44fc806a2a4e88aefe65f7a8fab)
*/
/**
/**
* Serialized queue data
*
- * @var text
+ * @var longtext
*/
public $data;
],
'data' => [
'name' => 'data',
- 'type' => CRM_Utils_Type::T_TEXT,
+ 'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Queue item data'),
'description' => ts('Serialized queue data'),
'where' => 'civicrm_queue_item.data',
<field>
<name>data</name>
<title>Queue item data</title>
- <type>text</type>
+ <type>longtext</type>
<comment>Serialized queue data</comment>
<serialize>PHP</serialize>
</field>