Merge pull request #14249 from yashodha/959_dev
[civicrm-core.git] / CRM / Core / DAO / JobLog.php
index aaa71773e7ea5415205a9d4f791c28800db73c12..6fd510f4fea30ce70e02d92c1d819e26a00fa10f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68e8b90d050e64feef2b1868d83a7923)
+ * (GenCodeChecksum:647390b654065a0cc421975a24ae14f9)
  */
 
 /**
@@ -31,14 +31,14 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
   /**
    * Job log entry Id
    *
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
   /**
    * Which Domain is this scheduled job for
    *
-   * @var int unsigned
+   * @var int
    */
   public $domain_id;
 
@@ -52,7 +52,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
   /**
    * Pointer to job id - not a FK though, just for logging purposes
    *
-   * @var int unsigned
+   * @var int
    */
   public $job_id;
 
@@ -121,6 +121,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'title' => ts('Job Log ID'),
           'description' => ts('Job log entry Id'),
           'required' => TRUE,
+          'where' => 'civicrm_job_log.id',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -132,6 +133,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'title' => ts('Domain ID'),
           'description' => ts('Which Domain is this scheduled job for'),
           'required' => TRUE,
+          'where' => 'civicrm_job_log.domain_id',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -141,13 +143,14 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
             'table' => 'civicrm_domain',
             'keyColumn' => 'id',
             'labelColumn' => 'name',
-          ]
+          ],
         ],
         'run_time' => [
           'name' => 'run_time',
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Timestamp'),
           'description' => ts('Log entry date'),
+          'where' => 'civicrm_job_log.run_time',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -158,6 +161,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Job ID'),
           'description' => ts('Pointer to job id - not a FK though, just for logging purposes'),
+          'where' => 'civicrm_job_log.job_id',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -170,6 +174,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => ts('Title of the job'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_job_log.name',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -182,6 +187,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => ts('Full path to file containing job script'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_job_log.command',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -194,6 +200,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => ts('Title line of log entry'),
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_job_log.description',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',
@@ -204,6 +211,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Extended Data'),
           'description' => ts('Potential extended data for specific job run (e.g. tracebacks).'),
+          'where' => 'civicrm_job_log.data',
           'table_name' => 'civicrm_job_log',
           'entity' => 'JobLog',
           'bao' => 'CRM_Core_DAO_JobLog',