Merge pull request #1062 from kurund/CRM-12964
[civicrm-core.git] / xml / schema / Core / UFGroup.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>UFGroup</class>
6 <name>civicrm_uf_group</name>
7 <comment>User framework groups. Each group represents a form which encompasses a set of fields defined in civicrm_uf_fields table. Initially will be used for CiviCRM Profile form(s). Subsequently we anticipate using this to define other public facing forms (e.g. online donation solicitation forms, mailing list preferences, etc.).</comment>
8 <add>1.1</add>
9 <log>true</log>
10 <field>
11 <name>id</name>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Unique table ID</comment>
15 <add>1.1</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>is_active</name>
23 <type>boolean</type>
24 <default>1</default>
25 <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
26 <add>1.1</add>
27 </field>
28 <field>
29 <name>group_type</name>
30 <type>varchar</type>
31 <length>255</length>
32 <import>true</import>
33 <comment>This column will store a comma separated list of the type(s) of profile fields.</comment>
34 <add>2.1</add>
35 </field>
36 <field>
37 <name>form_type</name>
38 <type>enum</type>
39 <values>CiviCRM Profile</values>
40 <comment>Type of form.</comment>
41 <drop>2.1</drop>
42 </field>
43 <field>
44 <name>title</name>
45 <type>varchar</type>
46 <length>64</length>
47 <localizable>true</localizable>
48 <required>true</required>
49 <comment>Form title.</comment>
50 <add>1.1</add>
51 </field>
52 <field>
53 <name>collapse_display</name>
54 <type>int unsigned</type>
55 <default>0</default>
56 <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
57 <add>1.1</add>
58 <drop>2.2</drop>
59 </field>
60 <field>
61 <name>help_pre</name>
62 <type>text</type>
63 <localizable>true</localizable>
64 <comment>Description and/or help text to display before fields in form.</comment>
65 <htmlType>textarea</htmlType>
66 <rows>4</rows>
67 <cols>80</cols>
68 <add>1.2</add>
69 </field>
70 <field>
71 <name>help_post</name>
72 <type>text</type>
73 <localizable>true</localizable>
74 <comment>Description and/or help text to display after fields in form.</comment>
75 <htmlType>textarea</htmlType>
76 <rows>4</rows>
77 <cols>80</cols>
78 <add>1.2</add>
79 </field>
80 <field>
81 <name>weight</name>
82 <type>int</type>
83 <required>true</required>
84 <default>1</default>
85 <comment>Controls display order when multiple user framework groups are setup for concurrent display.</comment>
86 <add>1.2</add>
87 <drop>1.3</drop>
88 </field>
89 <field>
90 <name>limit_listings_group_id</name>
91 <type>int unsigned</type>
92 <comment>Group id, foriegn key from civicrm_group</comment>
93 <add>1.4</add>
94 </field>
95 <foreignKey>
96 <name>limit_listings_group_id</name>
97 <table>civicrm_group</table>
98 <key>id</key>
99 <add>1.4</add>
100 <onDelete>SET NULL</onDelete>
101 </foreignKey>
102 <field>
103 <name>post_URL</name>
104 <type>varchar</type>
105 <length>255</length>
106 <comment>Redirect to URL.</comment>
107 <add>1.4</add>
108 </field>
3c7d2158 109 <field>
110 <name>add_to_group_id</name>
111 <type>int unsigned</type>
112 <comment>foreign key to civicrm_group_id</comment>
113 </field>
6a488035 114 <foreignKey>
3c7d2158 115 <name>add_to_group_id</name>
116 <table>civicrm_group</table>
117 <key>id</key>
6a488035
TO
118 <onDelete>SET NULL</onDelete>
119 </foreignKey>
120 <field>
121 <name>add_captcha</name>
122 <type>boolean</type>
123 <default>0</default>
124 <comment>Should a CAPTCHA widget be included this Profile form.</comment>
125 <add>1.1</add>
126 </field>
127 <field>
128 <name>is_map</name>
129 <type>boolean</type>
130 <default>0</default>
131 <comment>Do we want to map results from this profile.</comment>
132 <add>1.5</add>
133 </field>
134 <field>
135 <name>is_edit_link</name>
136 <type>boolean</type>
137 <default>0</default>
138 <comment>Should edit link display in profile selector</comment>
139 <add>1.6</add>
140 </field>
141 <field>
142 <name>is_uf_link</name>
143 <type>boolean</type>
144 <default>0</default>
145 <comment>Should we display a link to the website profile in profile selector</comment>
146 <add>1.7</add>
147 </field>
148 <field>
149 <name>is_update_dupe</name>
150 <type>boolean</type>
151 <default>0</default>
152 <comment>Should we update the contact record if we find a duplicate</comment>
153 <add>1.7</add>
154 </field>
155 <field>
156 <name>cancel_URL</name>
157 <type>varchar</type>
158 <length>255</length>
159 <comment>Redirect to URL when Cancle button clik .</comment>
160 <add>1.4</add>
161 </field>
162 <field>
163 <name>is_cms_user</name>
164 <type>boolean</type>
165 <default>0</default>
166 <comment>Should we create a cms user for this profile </comment>
167 <add>1.8</add>
168 </field>
169 <field>
170 <name>notify</name>
171 <type>text</type>
172 <add>1.8</add>
173 </field>
174 <field>
175 <name>is_reserved</name>
176 <type>boolean</type>
177 <comment>Is this group reserved for use by some other CiviCRM functionality?</comment>
178 <add>3.0</add>
179 </field>
180 <field>
181 <name>name</name>
182 <type>varchar</type>
183 <length>64</length>
184 <comment>Name of the UF group for directly addressing it in the codebase</comment>
185 <add>3.0</add>
186 </field>
187 <field>
188 <name>created_id</name>
189 <type>int unsigned</type>
190 <comment>FK to civicrm_contact, who created this UF group</comment>
191 <add>3.0</add>
192 </field>
193 <foreignKey>
194 <name>created_id</name>
195 <table>civicrm_contact</table>
196 <key>id</key>
197 <add>3.0</add>
198 <onDelete>SET NULL</onDelete>
199 </foreignKey>
200 <field>
201 <name>created_date</name>
202 <type>datetime</type>
203 <title>UF Group Created Date</title>
204 <comment>Date and time this UF group was created.</comment>
205 <add>3.0</add>
206 </field>
207 <field>
208 <name>is_proximity_search</name>
209 <type>boolean</type>
210 <default>0</default>
211 <comment>Should we include proximity search feature in this profile search form?</comment>
212 <add>3.2</add>
213 </field>
214</table>