X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FSystemLog.php;h=c1587e0bdd68d79e4c92ce7e5ceadb5825e82295;hb=a0741dc66a56012dca28350f8c1ddaad5ec03918;hp=2090dd18dda7e4c9c77ceb22e71a3ea35bde266a;hpb=358a1864ba3c5a3fc3ff65f03b3db045ea2199a8;p=civicrm-core.git diff --git a/CRM/Core/DAO/SystemLog.php b/CRM/Core/DAO/SystemLog.php index 2090dd18dd..c1587e0bdd 100644 --- a/CRM/Core/DAO/SystemLog.php +++ b/CRM/Core/DAO/SystemLog.php @@ -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',