Merge pull request #8983 from KarinG/CRM-19309
[civicrm-core.git] / xml / schema / Core / PrevNextCache.xml
CommitLineData
6a488035
TO
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>
8f069c03 10 <name>id</name>
fa6ace1a 11 <title>Prev Next Cache ID</title>
8f069c03
EM
12 <type>int unsigned</type>
13 <required>true</required>
14 <add>3.4</add>
6a488035
TO
15 </field>
16 <primaryKey>
8f069c03
EM
17 <name>id</name>
18 <autoincrement>true</autoincrement>
6a488035
TO
19 </primaryKey>
20 <field>
8f069c03 21 <name>entity_table</name>
fa6ace1a 22 <title>Prev Next Entity Table</title>
8f069c03
EM
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>
6a488035
TO
27 </field>
28 <field>
8f069c03 29 <name>entity_id1</name>
fa6ace1a 30 <title>Prev Next Entity ID 1</title>
8f069c03
EM
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>
6a488035
TO
35 </field>
36 <field>
8f069c03 37 <name>entity_id2</name>
fa6ace1a 38 <title>Prev Next Entity ID 2</title>
8f069c03
EM
39 <type>int unsigned</type>
40 <required>true</required>
41 <comment>FK to entity table specified in entity_table column.</comment>
42 <add>3.4</add>
6a488035
TO
43 </field>
44 <field>
45 <name>cacheKey</name>
fa6ace1a 46 <title>Cache Key</title>
6a488035
TO
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>
fa6ace1a 54 <title>Prev Next Data</title>
6a488035
TO
55 <type>longtext</type>
56 <comment>cached snapshot of the serialized data</comment>
57 <add>3.4</add>
58 </field>
59 <field>
60 <name>is_selected</name>
fa6ace1a 61 <title>Is Selected</title>
6a488035
TO
62 <type>boolean</type>
63 <default>0</default>
64 <add>4.2</add>
65 </field>
66 <index>
8f069c03
EM
67 <name>index_all</name>
68 <fieldName>cacheKey</fieldName>
69 <fieldName>entity_id1</fieldName>
70 <fieldName>entity_id2</fieldName>
71 <fieldName>entity_table</fieldName>
72 <fieldName>is_selected</fieldName>
6a488035
TO
73 </index>
74</table>