Commit | Line | Data |
---|---|---|
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> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <add>3.4</add> | |
14 | </field> | |
15 | <primaryKey> | |
16 | <name>id</name> | |
17 | <autoincrement>true</autoincrement> | |
18 | </primaryKey> | |
19 | <field> | |
20 | <name>entity_table</name> | |
21 | <type>varchar</type> | |
22 | <length>64</length> | |
23 | <comment>physical tablename for entity being joined to discount, e.g. civicrm_event</comment> | |
24 | <add>3.4</add> | |
25 | </field> | |
26 | <field> | |
27 | <name>entity_id1</name> | |
28 | <type>int unsigned</type> | |
29 | <required>true</required> | |
30 | <comment>FK to entity table specified in entity_table column.</comment> | |
31 | <add>3.4</add> | |
32 | </field> | |
33 | <field> | |
34 | <name>entity_id2</name> | |
35 | <type>int unsigned</type> | |
36 | <required>true</required> | |
37 | <comment>FK to entity table specified in entity_table column.</comment> | |
38 | <add>3.4</add> | |
39 | </field> | |
40 | <field> | |
41 | <name>cacheKey</name> | |
42 | <type>varchar</type> | |
43 | <length>255</length> | |
44 | <comment>Unique path name for cache element of the searched item</comment> | |
45 | <add>3.4</add> | |
46 | </field> | |
47 | <field> | |
48 | <name>data</name> | |
49 | <type>longtext</type> | |
50 | <comment>cached snapshot of the serialized data</comment> | |
51 | <add>3.4</add> | |
52 | </field> | |
53 | <field> | |
54 | <name>is_selected</name> | |
55 | <type>boolean</type> | |
56 | <default>0</default> | |
57 | <add>4.2</add> | |
58 | </field> | |
59 | <index> | |
60 | <name>index_all</name> | |
61 | <fieldName>cacheKey</fieldName> | |
62 | <fieldName>entity_id1</fieldName> | |
63 | <fieldName>entity_id2</fieldName> | |
64 | <fieldName>entity_table</fieldName> | |
65 | <fieldName>is_selected</fieldName> | |
66 | </index> | |
67 | </table> |