Added field title for Cache table
authorPradeep Nayak <pradpnayak@gmail.com>
Tue, 3 Sep 2019 09:08:55 +0000 (10:08 +0100)
committerPradeep Nayak <pradpnayak@gmail.com>
Tue, 3 Sep 2019 09:08:55 +0000 (10:08 +0100)
CRM/Core/DAO/Cache.php
xml/schema/Core/Cache.xml

index 01536dda8ed0c391031bdfc4ce548220362d65b9..15f2f222680cf3b16c2e93475ec07b8ac34485bc 100644 (file)
@@ -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 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
         '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 @@ class CRM_Core_DAO_Cache extends CRM_Core_DAO {
         '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',
index 29445f1aa986b8f6acec3992cb96539f75838e02..564a2773292b117051960462feca88bf7ecf1e89 100644 (file)
@@ -8,8 +8,10 @@
   <add>2.1</add>
   <field>
     <name>id</name>
+    <title>Cache ID</title>
     <type>int unsigned</type>
     <required>true</required>
+    <comment>Unique table ID</comment>
     <add>2.1</add>
   </field>
   <primaryKey>
@@ -18,6 +20,7 @@
   </primaryKey>
   <field>
     <name>group_name</name>
+    <title>Group Name</title>
     <type>varchar</type>
     <length>32</length>
     <required>true</required>
@@ -26,6 +29,7 @@
   </field>
   <field>
     <name>path</name>
+    <title>Path</title>
     <type>varchar</type>
     <length>255</length>
     <comment>Unique path name for cache element</comment>
   </index>
   <field>
     <name>data</name>
+    <title>Data</title>
     <type>longtext</type>
     <comment>data associated with this path</comment>
     <add>2.1</add>
   </field>
   <field>
     <name>component_id</name>
+    <title>Component ID</title>
     <type>int unsigned</type>
     <comment>Component that this menu item belongs to</comment>
     <add>2.1</add>
@@ -75,6 +81,7 @@
   </foreignKey>
   <field>
     <name>created_date</name>
+    <title>Created Date</title>
     <type>timestamp</type>
     <default>CURRENT_TIMESTAMP</default>
     <comment>When was the cache item created</comment>
@@ -82,6 +89,7 @@
   </field>
   <field>
     <name>expired_date</name>
+    <title>Expired Date</title>
     <type>timestamp</type>
     <default>NULL</default>
     <required>false</required>