Merge pull request #23210 from eileenmcnaughton/cancel
[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>
0481e12c
A
14 <html>
15 <type>Number</type>
16 </html>
8f069c03 17 <add>3.4</add>
6a488035
TO
18 </field>
19 <primaryKey>
8f069c03
EM
20 <name>id</name>
21 <autoincrement>true</autoincrement>
6a488035
TO
22 </primaryKey>
23 <field>
8f069c03 24 <name>entity_table</name>
fa6ace1a 25 <title>Prev Next Entity Table</title>
8f069c03
EM
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>
6a488035
TO
30 </field>
31 <field>
8f069c03 32 <name>entity_id1</name>
fa6ace1a 33 <title>Prev Next Entity ID 1</title>
8f069c03
EM
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>
6a488035
TO
38 </field>
39 <field>
8f069c03 40 <name>entity_id2</name>
fa6ace1a 41 <title>Prev Next Entity ID 2</title>
8f069c03 42 <type>int unsigned</type>
230a9938 43 <required>false</required>
8f069c03
EM
44 <comment>FK to entity table specified in entity_table column.</comment>
45 <add>3.4</add>
6a488035
TO
46 </field>
47 <field>
783b4b21 48 <name>cachekey</name>
fa6ace1a 49 <title>Cache Key</title>
6a488035
TO
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>
fa6ace1a 57 <title>Prev Next Data</title>
6a488035
TO
58 <type>longtext</type>
59 <comment>cached snapshot of the serialized data</comment>
2a5c9b4d 60 <serialize>PHP</serialize>
6a488035
TO
61 <add>3.4</add>
62 </field>
63 <field>
64 <name>is_selected</name>
fa6ace1a 65 <title>Is Selected</title>
6a488035
TO
66 <type>boolean</type>
67 <default>0</default>
c1e814c7 68 <required>true</required>
6a488035
TO
69 <add>4.2</add>
70 </field>
71 <index>
8f069c03 72 <name>index_all</name>
783b4b21 73 <fieldName>cachekey</fieldName>
8f069c03
EM
74 <fieldName>entity_id1</fieldName>
75 <fieldName>entity_id2</fieldName>
76 <fieldName>entity_table</fieldName>
77 <fieldName>is_selected</fieldName>
6a488035
TO
78 </index>
79</table>