Merge pull request #14249 from yashodha/959_dev
[civicrm-core.git] / CRM / Core / DAO / SystemLog.php
index 2090dd18dda7e4c9c77ceb22e71a3ea35bde266a..c1587e0bdd68d79e4c92ce7e5ceadb5825e82295 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:edcf9c070365c92afa56f7f3fe79acee)
+ * (GenCodeChecksum:a2276bcf3bb39a3947bf54b043fa0a05)
  */
 
 /**
@@ -31,7 +31,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
   /**
    * Primary key ID
    *
-   * @var int unsigned
+   * @var int
    */
   public $id;
 
@@ -66,7 +66,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
   /**
    * Optional Contact ID that created the log. Not an FK as we keep this regardless
    *
-   * @var int unsigned
+   * @var int
    */
   public $contact_id;
 
@@ -99,6 +99,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'title' => ts('System Log ID'),
           'description' => ts('Primary key ID'),
           'required' => TRUE,
+          'where' => 'civicrm_system_log.id',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
@@ -112,6 +113,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'required' => TRUE,
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_system_log.message',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
@@ -122,6 +124,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_LONGTEXT,
           'title' => ts('Detailed Log Data'),
           'description' => ts('JSON encoded data'),
+          'where' => 'civicrm_system_log.context',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
@@ -134,6 +137,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'description' => ts('error level per PSR3'),
           'maxlength' => 9,
           'size' => CRM_Utils_Type::TWELVE,
+          'where' => 'civicrm_system_log.level',
           'default' => 'info',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
@@ -145,6 +149,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Log Timestamp'),
           'description' => ts('Timestamp of when event occurred.'),
+          'where' => 'civicrm_system_log.timestamp',
           'default' => 'CURRENT_TIMESTAMP',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
@@ -156,6 +161,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Log Contact ID'),
           'description' => ts('Optional Contact ID that created the log. Not an FK as we keep this regardless'),
+          'where' => 'civicrm_system_log.contact_id',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',
@@ -168,6 +174,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'description' => ts('Optional Name of logging host'),
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
+          'where' => 'civicrm_system_log.hostname',
           'table_name' => 'civicrm_system_log',
           'entity' => 'SystemLog',
           'bao' => 'CRM_Core_DAO_SystemLog',