*
* Generated from xml/schema/CRM/Queue/QueueItem.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:849aadfa48a74353ab6e4ce2b7476805)
+ * (GenCodeChecksum:66a10bb763c83fb0f98f5510b2e708af)
*/
/**
* date on which this item was submitted to the queue
*
* @var string
- * (SQL type: datetime)
+ * (SQL type: timestamp)
* Note that values will be retrieved from the database as a string.
*/
public $submit_time;
/**
* date on which this job becomes available; null if ASAP
*
- * @var string|null
- * (SQL type: datetime)
+ * @var string
+ * (SQL type: timestamp)
* Note that values will be retrieved from the database as a string.
*/
public $release_time;
],
'submit_time' => [
'name' => 'submit_time',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Submit Time'),
'description' => ts('date on which this item was submitted to the queue'),
'required' => TRUE,
],
'release_time' => [
'name' => 'release_time',
- 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
+ 'type' => CRM_Utils_Type::T_TIMESTAMP,
'title' => ts('Release Time'),
'description' => ts('date on which this job becomes available; null if ASAP'),
+ 'required' => FALSE,
'where' => 'civicrm_queue_item.release_time',
+ 'default' => NULL,
'table_name' => 'civicrm_queue_item',
'entity' => 'QueueItem',
'bao' => 'CRM_Queue_BAO_QueueItem',
<field>
<name>submit_time</name>
<title>Submit Time</title>
- <type>datetime</type>
+ <type>timestamp</type>
<comment>date on which this item was submitted to the queue</comment>
<required>true</required>
<html>
<field>
<name>release_time</name>
<title>Release Time</title>
- <type>datetime</type>
+ <type>timestamp</type>
+ <required>false</required>
+ <default>NULL</default>
<comment>date on which this job becomes available; null if ASAP</comment>
<html>
<type>Select Date</type>