Merge pull request #17864 from colemanw/searchFix
[civicrm-core.git] / xml / schema / Core / Preferences.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>Preferences</class>
6 <name>civicrm_preferences</name>
7 <comment>Define preferences for the site and users</comment>
8 <add>1.8</add>
9 <drop>4.1</drop>
10 <log>true</log>
11 <field>
8f069c03
EM
12 <name>id</name>
13 <type>int unsigned</type>
14 <required>true</required>
15 <add>1.8</add>
6a488035
TO
16 </field>
17 <primaryKey>
8f069c03
EM
18 <name>id</name>
19 <autoincrement>true</autoincrement>
6a488035
TO
20 </primaryKey>
21 <field>
8f069c03
EM
22 <name>domain_id</name>
23 <type>int unsigned</type>
24 <required>true</required>
25 <comment>Which Domain is this menu item for</comment>
26 <add>3.0</add>
6a488035
TO
27 </field>
28 <foreignKey>
8f069c03
EM
29 <name>domain_id</name>
30 <table>civicrm_domain</table>
31 <key>id</key>
32 <onDelete>CASCADE</onDelete>
33 <add>3.0</add>
6a488035
TO
34 </foreignKey>
35 <field>
8f069c03
EM
36 <name>contact_id</name>
37 <type>int unsigned</type>
38 <comment>FK to Contact ID</comment>
39 <add>1.8</add>
6a488035
TO
40 </field>
41 <foreignKey>
8f069c03
EM
42 <name>contact_id</name>
43 <table>civicrm_contact</table>
44 <key>id</key>
45 <onDelete>CASCADE</onDelete>
46 <add>1.8</add>
6a488035
TO
47 </foreignKey>
48 <field>
8f069c03
EM
49 <name>is_domain</name>
50 <type>boolean</type>
51 <comment>Is this the record for the domain setting?</comment>
52 <add>1.8</add>
6a488035
TO
53 </field>
54 <field>
8f069c03
EM
55 <name>location_count</name>
56 <type>int unsigned</type>
57 <comment>Number of locations to be displayed on edit page?</comment>
58 <add>1.8</add>
59 <drop>3.0</drop>
6a488035
TO
60 </field>
61 <field>
8f069c03
EM
62 <name>contact_view_options</name>
63 <type>varchar</type>
64 <length>128</length>
65 <comment>What tabs are displayed in the contact summary</comment>
66 <add>1.8</add>
6a488035
TO
67 </field>
68 <index>
69 <name>index_contact_view_options</name>
70 <fieldName>contact_view_options</fieldName>
71 <add>1.8</add>
72 </index>
73 <field>
8f069c03
EM
74 <name>contact_edit_options</name>
75 <type>varchar</type>
76 <length>128</length>
77 <comment>What tabs are displayed in the contact edit</comment>
78 <add>1.8</add>
6a488035
TO
79 </field>
80 <index>
81 <name>index_contact_edit_options</name>
82 <fieldName>contact_edit_options</fieldName>
83 <add>1.8</add>
84 </index>
85 <field>
8f069c03
EM
86 <name>advanced_search_options</name>
87 <type>varchar</type>
88 <length>128</length>
89 <comment>What tabs are displayed in the advanced search screen</comment>
90 <add>1.8</add>
6a488035
TO
91 </field>
92 <index>
93 <name>index_advanced_search_options</name>
94 <fieldName>advanced_search_options</fieldName>
95 <add>1.8</add>
96 </index>
97 <field>
8f069c03
EM
98 <name>user_dashboard_options</name>
99 <type>varchar</type>
100 <length>128</length>
101 <comment>What tabs are displayed in the contact edit</comment>
102 <add>1.8</add>
6a488035
TO
103 </field>
104 <index>
105 <name>index_user_dashboard_options</name>
106 <fieldName>user_dashboard_options</fieldName>
107 <add>1.8</add>
108 </index>
109 <field>
8f069c03
EM
110 <name>address_options</name>
111 <type>varchar</type>
112 <length>128</length>
113 <comment>What fields are displayed from the address table</comment>
114 <add>1.8</add>
6a488035 115 </field>
8f069c03 116 <index>
6a488035
TO
117 <name>index_address_options</name>
118 <fieldName>address_options</fieldName>
119 <add>1.8</add>
120 </index>
121 <field>
8f069c03
EM
122 <name>address_format</name>
123 <type>text</type>
124 <comment>Format to display the address</comment>
125 <add>1.8</add>
6a488035
TO
126 </field>
127 <field>
8f069c03
EM
128 <name>mailing_format</name>
129 <type>text</type>
130 <comment>Format to display a mailing label</comment>
131 <add>1.8</add>
6a488035
TO
132 </field>
133 <field>
8f069c03
EM
134 <name>display_name_format</name>
135 <type>text</type>
136 <comment>Format to display contact display name</comment>
137 <add>3.2</add>
6a488035
TO
138 </field>
139 <field>
8f069c03
EM
140 <name>sort_name_format</name>
141 <type>text</type>
142 <comment>Format to display contact sort name</comment>
143 <add>3.2</add>
6a488035
TO
144 </field>
145 <field>
8f069c03
EM
146 <name>individual_name_format</name>
147 <type>text</type>
148 <comment>Format to display a individual name</comment>
149 <add>1.8</add>
150 <drop>3.0</drop>
6a488035
TO
151 </field>
152 <field>
8f069c03
EM
153 <name>address_standardization_provider</name>
154 <type>varchar</type>
155 <length>64</length>
156 <comment>object name of provider for address standarization</comment>
157 <add>1.8</add>
6a488035
TO
158 </field>
159 <field>
8f069c03
EM
160 <name>address_standardization_userid</name>
161 <type>varchar</type>
162 <length>64</length>
163 <comment>user id for provider login</comment>
164 <add>1.8</add>
6a488035
TO
165 </field>
166 <field>
8f069c03
EM
167 <name>address_standardization_url</name>
168 <type>varchar</type>
169 <length>255</length>
170 <comment>url of address standardization service</comment>
171 <add>1.8</add>
6a488035 172 </field>
8f069c03
EM
173 <field>
174 <name>editor_id</name>
175 <type>int unsigned</type>
176 <length>4</length>
177 <comment>ID of the editor</comment>
178 <add>2.1</add>
6a488035 179 </field>
8f069c03
EM
180 <field>
181 <name>mailing_backend</name>
182 <type>text</type>
183 <comment>Smtp Backend configuration.</comment>
184 <html>
185 <type>TextArea</type>
186 <rows>20</rows>
187 <cols>80</cols>
188 </html>
189 <add>2.2</add>
6a488035
TO
190 </field>
191 <field>
8f069c03
EM
192 <name>navigation</name>
193 <type>text</type>
194 <comment>Store navigation for the Contact</comment>
195 <add>3.0</add>
6a488035
TO
196 </field>
197 <field>
8f069c03
EM
198 <name>contact_autocomplete_options</name>
199 <type>varchar</type>
200 <length>255</length>
201 <comment>What Autocomplete has to return</comment>
202 <add>3.1</add>
6a488035
TO
203 </field>
204</table>