Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>Cache</class> | |
6 | <name>civicrm_cache</name> | |
7 | <comment>Table to cache items for civicrm components.</comment> | |
8 | <add>2.1</add> | |
9 | <field> | |
8f069c03 | 10 | <name>id</name> |
6692f42b | 11 | <title>Cache ID</title> |
8f069c03 EM |
12 | <type>int unsigned</type> |
13 | <required>true</required> | |
6692f42b | 14 | <comment>Unique table ID</comment> |
8f069c03 | 15 | <add>2.1</add> |
6a488035 TO |
16 | </field> |
17 | <primaryKey> | |
8f069c03 EM |
18 | <name>id</name> |
19 | <autoincrement>true</autoincrement> | |
6a488035 TO |
20 | </primaryKey> |
21 | <field> | |
8f069c03 | 22 | <name>group_name</name> |
6692f42b | 23 | <title>Group Name</title> |
8f069c03 EM |
24 | <type>varchar</type> |
25 | <length>32</length> | |
26 | <required>true</required> | |
27 | <comment>group name for cache element, useful in cleaning cache elements</comment> | |
28 | <add>2.1</add> | |
6a488035 TO |
29 | </field> |
30 | <field> | |
8f069c03 | 31 | <name>path</name> |
6692f42b | 32 | <title>Path</title> |
8f069c03 EM |
33 | <type>varchar</type> |
34 | <length>255</length> | |
35 | <comment>Unique path name for cache element</comment> | |
36 | <add>2.1</add> | |
6a488035 | 37 | </field> |
6a488035 TO |
38 | <index> |
39 | <name>UI_group_path_date</name> | |
40 | <fieldName>group_name</fieldName> | |
41 | <fieldName>path</fieldName> | |
42 | <fieldName>created_date</fieldName> | |
43 | <unique>true</unique> | |
44 | <add>4.2</add> | |
45 | </index> | |
46 | <field> | |
47 | <name>data</name> | |
6692f42b | 48 | <title>Data</title> |
6a488035 TO |
49 | <type>longtext</type> |
50 | <comment>data associated with this path</comment> | |
51 | <add>2.1</add> | |
52 | </field> | |
53 | <field> | |
8f785c9e | 54 | <name>component_id</name> |
6692f42b | 55 | <title>Component ID</title> |
8f785c9e AS |
56 | <type>int unsigned</type> |
57 | <comment>Component that this menu item belongs to</comment> | |
58 | <add>2.1</add> | |
59 | <pseudoconstant> | |
60 | <table>civicrm_component</table> | |
61 | <keyColumn>id</keyColumn> | |
62 | <labelColumn>name</labelColumn> | |
63 | </pseudoconstant> | |
614d72ec | 64 | <html> |
e0991796 | 65 | <type>Select</type> |
614d72ec | 66 | </html> |
6a488035 TO |
67 | </field> |
68 | <foreignKey> | |
8f069c03 EM |
69 | <name>component_id</name> |
70 | <table>civicrm_component</table> | |
71 | <key>id</key> | |
72 | <add>2.1</add> | |
6a488035 TO |
73 | </foreignKey> |
74 | <field> | |
75 | <name>created_date</name> | |
6692f42b | 76 | <title>Created Date</title> |
4387c66f | 77 | <type>timestamp</type> |
78 | <default>CURRENT_TIMESTAMP</default> | |
6a488035 TO |
79 | <comment>When was the cache item created</comment> |
80 | <add>2.1</add> | |
81 | </field> | |
82 | <field> | |
83 | <name>expired_date</name> | |
6692f42b | 84 | <title>Expired Date</title> |
4387c66f | 85 | <type>timestamp</type> |
86 | <default>NULL</default> | |
87 | <required>false</required> | |
6a488035 TO |
88 | <comment>When should the cache item expire</comment> |
89 | <add>2.1</add> | |
90 | </field> | |
91 | </table> |