From 6692f42b8ce8d7f277e654954e0a7d09152b4f14 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 3 Sep 2019 10:08:55 +0100 Subject: [PATCH] Added field title for Cache table --- CRM/Core/DAO/Cache.php | 7 ++++++- xml/schema/Core/Cache.xml | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/Cache.php b/CRM/Core/DAO/Cache.php index 01536dda8ed0..15f2f222680c 100644 --- a/CRM/Core/DAO/Cache.php +++ b/CRM/Core/DAO/Cache.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Cache.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:97df4edaa4829ea30a151dbb95ff754d) + * (GenCodeChecksum:4d3ccecb7d91aa67b8c78c3c39933ae8) */ /** @@ -29,6 +29,8 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO { public static $_log = FALSE; /** + * Unique table ID + * * @var int */ public $id; @@ -109,6 +111,8 @@ public static function &fields() { 'id' => [ 'name' => 'id', 'type' => CRM_Utils_Type::T_INT, + 'title' => ts('Cache ID'), + 'description' => ts('Unique table ID'), 'required' => TRUE, 'where' => 'civicrm_cache.id', 'table_name' => 'civicrm_cache', @@ -157,6 +161,7 @@ public static function &fields() { 'component_id' => [ 'name' => 'component_id', 'type' => CRM_Utils_Type::T_INT, + 'title' => ts('Component ID'), 'description' => ts('Component that this menu item belongs to'), 'where' => 'civicrm_cache.component_id', 'table_name' => 'civicrm_cache', diff --git a/xml/schema/Core/Cache.xml b/xml/schema/Core/Cache.xml index 29445f1aa986..564a2773292b 100644 --- a/xml/schema/Core/Cache.xml +++ b/xml/schema/Core/Cache.xml @@ -8,8 +8,10 @@ 2.1 id + Cache ID int unsigned true + Unique table ID 2.1 @@ -18,6 +20,7 @@ group_name + Group Name varchar 32 true @@ -26,6 +29,7 @@ path + Path varchar 255 Unique path name for cache element @@ -49,12 +53,14 @@ data + Data longtext data associated with this path 2.1 component_id + Component ID int unsigned Component that this menu item belongs to 2.1 @@ -75,6 +81,7 @@ created_date + Created Date timestamp CURRENT_TIMESTAMP When was the cache item created @@ -82,6 +89,7 @@ expired_date + Expired Date timestamp NULL false