Merge pull request #17170 from colemanw/optionValueDefault
[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 <add>3.4</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>entity_table</name>
22 <title>Prev Next Entity Table</title>
23 <type>varchar</type>
24 <length>64</length>
25 <comment>physical tablename for entity being joined to discount, e.g. civicrm_event</comment>
26 <add>3.4</add>
27 </field>
28 <field>
29 <name>entity_id1</name>
30 <title>Prev Next Entity ID 1</title>
31 <type>int unsigned</type>
32 <required>true</required>
33 <comment>FK to entity table specified in entity_table column.</comment>
34 <add>3.4</add>
35 </field>
36 <field>
37 <name>entity_id2</name>
38 <title>Prev Next Entity ID 2</title>
39 <type>int unsigned</type>
40 <required>false</required>
41 <comment>FK to entity table specified in entity_table column.</comment>
42 <add>3.4</add>
43 </field>
44 <field>
45 <name>cachekey</name>
46 <title>Cache Key</title>
47 <type>varchar</type>
48 <length>255</length>
49 <comment>Unique path name for cache element of the searched item</comment>
50 <add>3.4</add>
51 </field>
52 <field>
53 <name>data</name>
54 <title>Prev Next Data</title>
55 <type>longtext</type>
56 <comment>cached snapshot of the serialized data</comment>
57 <serialize>PHP</serialize>
58 <add>3.4</add>
59 </field>
60 <field>
61 <name>is_selected</name>
62 <title>Is Selected</title>
63 <type>boolean</type>
64 <default>0</default>
65 <add>4.2</add>
66 </field>
67 <index>
68 <name>index_all</name>
69 <fieldName>cachekey</fieldName>
70 <fieldName>entity_id1</fieldName>
71 <fieldName>entity_id2</fieldName>
72 <fieldName>entity_table</fieldName>
73 <fieldName>is_selected</fieldName>
74 </index>
75 </table>