Merge pull request #19761 from MegaphoneJon/financial-169
[civicrm-core.git] / xml / schema / Core / PrevNextCache.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>PrevNextCache</class>
6 <name>civicrm_prevnext_cache</name>
7 <comment>Table to cache items for navigation on civicrm searched results.</comment>
8 <add>3.4</add>
9 <field>
10 <name>id</name>
11 <title>Prev Next Cache ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <html>
15 <type>Number</type>
16 </html>
17 <add>3.4</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>entity_table</name>
25 <title>Prev Next Entity Table</title>
26 <type>varchar</type>
27 <length>64</length>
28 <comment>physical tablename for entity being joined to discount, e.g. civicrm_event</comment>
29 <add>3.4</add>
30 </field>
31 <field>
32 <name>entity_id1</name>
33 <title>Prev Next Entity ID 1</title>
34 <type>int unsigned</type>
35 <required>true</required>
36 <comment>FK to entity table specified in entity_table column.</comment>
37 <add>3.4</add>
38 </field>
39 <field>
40 <name>entity_id2</name>
41 <title>Prev Next Entity ID 2</title>
42 <type>int unsigned</type>
43 <required>false</required>
44 <comment>FK to entity table specified in entity_table column.</comment>
45 <add>3.4</add>
46 </field>
47 <field>
48 <name>cachekey</name>
49 <title>Cache Key</title>
50 <type>varchar</type>
51 <length>255</length>
52 <comment>Unique path name for cache element of the searched item</comment>
53 <add>3.4</add>
54 </field>
55 <field>
56 <name>data</name>
57 <title>Prev Next Data</title>
58 <type>longtext</type>
59 <comment>cached snapshot of the serialized data</comment>
60 <serialize>PHP</serialize>
61 <add>3.4</add>
62 </field>
63 <field>
64 <name>is_selected</name>
65 <title>Is Selected</title>
66 <type>boolean</type>
67 <default>0</default>
68 <add>4.2</add>
69 </field>
70 <index>
71 <name>index_all</name>
72 <fieldName>cachekey</fieldName>
73 <fieldName>entity_id1</fieldName>
74 <fieldName>entity_id2</fieldName>
75 <fieldName>entity_table</fieldName>
76 <fieldName>is_selected</fieldName>
77 </index>
78 </table>