Commit | Line | Data |
---|---|---|
3f3a3ba0 | 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
6a488035 | 2 | |
3f3a3ba0 CW |
3 | <table> |
4 | <base>CRM/Event</base> | |
5 | <class>Event</class> | |
6 | <name>civicrm_event</name> | |
7 | <add>1.7</add> | |
6a488035 | 8 | <log>true</log> |
3f3a3ba0 CW |
9 | <field> |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
6a488035 | 12 | <title>Event ID</title> |
3f3a3ba0 CW |
13 | <required>true</required> |
14 | <comment>Event</comment> | |
15 | <add>1.7</add> | |
16 | </field> | |
17 | <primaryKey> | |
18 | <name>id</name> | |
19 | <autoincrement>true</autoincrement> | |
20 | </primaryKey> | |
21 | <field> | |
22 | <name>title</name> | |
6a488035 | 23 | <uniqueName>event_title</uniqueName> |
3f3a3ba0 | 24 | <type>varchar</type> |
6a488035 TO |
25 | <import>true</import> |
26 | <title>Event Title</title> | |
27 | <headerPattern>/(event.)?title$/i</headerPattern> | |
3f3a3ba0 | 28 | <length>255</length> |
6a488035 TO |
29 | <localizable>true</localizable> |
30 | <comment>Event Title (e.g. Fall Fundraiser Dinner)</comment> | |
3f3a3ba0 CW |
31 | <add>1.7</add> |
32 | </field> | |
33 | <field> | |
6a488035 | 34 | <name>summary</name> |
3f3a3ba0 CW |
35 | <type>text</type> |
36 | <title>Event Summary</title> | |
6a488035 TO |
37 | <htmlType>textarea</htmlType> |
38 | <rows>4</rows> | |
39 | <cols>60</cols> | |
40 | <localizable>true</localizable> | |
41 | <comment>Brief summary of event. Text and html allowed. Displayed on Event Registration form and can be used on other CMS pages which need an event summary.</comment> | |
3f3a3ba0 CW |
42 | <add>1.7</add> |
43 | </field> | |
44 | <field> | |
45 | <name>description</name> | |
46 | <type>text</type> | |
6a488035 | 47 | <uniqueName>event_description</uniqueName> |
3f3a3ba0 | 48 | <title>Event Description</title> |
6a488035 TO |
49 | <htmlType>textarea</htmlType> |
50 | <rows>8</rows> | |
51 | <cols>60</cols> | |
52 | <localizable>true</localizable> | |
53 | <comment>Full description of event. Text and html allowed. Displayed on built-in Event Information screens.</comment> | |
54 | <add>1.7</add> | |
55 | </field> | |
56 | <field> | |
57 | <name>event_type_id</name> | |
58 | <type>int unsigned</type> | |
59 | <uniqueName>event_type_id</uniqueName> | |
60 | <title>Event Type ID</title> | |
61 | <default>0</default> | |
62 | <pseudoconstant> | |
6a488035 | 63 | <optionGroupName>event_type</optionGroupName> |
6a488035 | 64 | </pseudoconstant> |
3f3a3ba0 CW |
65 | <comment>Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.</comment> |
66 | <add>1.7</add> | |
67 | </field> | |
6a488035 TO |
68 | <index> |
69 | <name>index_event_type_id</name> | |
70 | <fieldName>event_type_id</fieldName> | |
71 | <add>1.8</add> | |
72 | </index> | |
3f3a3ba0 CW |
73 | <field> |
74 | <name>participant_listing_id</name> | |
75 | <type>int unsigned</type> | |
6a488035 | 76 | <uniqueName>participant_listing_id</uniqueName> |
3f3a3ba0 CW |
77 | <title>Participant Listing ID</title> |
78 | <default>0</default> | |
79 | <comment>Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.</comment> | |
80 | <add>2.0</add> | |
81 | </field> | |
6a488035 TO |
82 | <index> |
83 | <name>index_participant_listing_id</name> | |
84 | <fieldName>participant_listing_id</fieldName> | |
85 | <add>2.0</add> | |
86 | </index> | |
3f3a3ba0 CW |
87 | <field> |
88 | <name>is_public</name> | |
89 | <type>boolean</type> | |
90 | <title>Is Event Public</title> | |
91 | <default>1</default> | |
92 | <comment>Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.</comment> | |
93 | <add>1.7</add> | |
94 | </field> | |
6a488035 TO |
95 | <field> |
96 | <name>start_date</name> | |
97 | <type>datetime</type> | |
98 | <uniqueName>event_start_date</uniqueName> | |
99 | <title>Event Start Date</title> | |
100 | <headerPattern>/^start|(s(tart\s)?date)$/i</headerPattern> | |
101 | <import>true</import> | |
102 | <comment>Date and time that event starts.</comment> | |
103 | <add>1.7</add> | |
104 | </field> | |
105 | <field> | |
106 | <name>end_date</name> | |
107 | <type>datetime</type> | |
108 | <uniqueName>event_end_date</uniqueName> | |
109 | <title>Event End Date</title> | |
110 | <headerPattern>/^end|(e(nd\s)?date)$/i</headerPattern> | |
111 | <import>true</import> | |
112 | <comment>Date and time that event ends. May be NULL if no defined end date/time</comment> | |
113 | <add>1.7</add> | |
114 | </field> | |
3f3a3ba0 CW |
115 | <field> |
116 | <name>is_online_registration</name> | |
117 | <type>boolean</type> | |
6a488035 | 118 | <title>Is Online Registration</title> |
3f3a3ba0 CW |
119 | <default>0</default> |
120 | <comment>If true, include registration link on Event Info page.</comment> | |
121 | <add>1.7</add> | |
6a488035 | 122 | </field> |
3f3a3ba0 CW |
123 | <field> |
124 | <name>registration_link_text</name> | |
125 | <type>varchar</type> | |
6a488035 | 126 | <title>Event Registration Link Text</title> |
3f3a3ba0 | 127 | <length>255</length> |
6a488035 TO |
128 | <localizable>true</localizable> |
129 | <comment>Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.</comment> | |
3f3a3ba0 CW |
130 | <add>1.7</add> |
131 | </field> | |
6a488035 TO |
132 | <field> |
133 | <name>registration_start_date</name> | |
134 | <type>datetime</type> | |
135 | <comment>Date and time that online registration starts.</comment> | |
136 | <add>1.8</add> | |
137 | </field> | |
138 | <field> | |
139 | <name>registration_end_date</name> | |
140 | <type>datetime</type> | |
141 | <comment>Date and time that online registration ends.</comment> | |
142 | <add>1.8</add> | |
143 | </field> | |
3f3a3ba0 CW |
144 | <field> |
145 | <name>max_participants</name> | |
146 | <type>int unsigned</type> | |
6a488035 TO |
147 | <title>Max Participants</title> |
148 | <default>NULL</default> | |
3f3a3ba0 CW |
149 | <comment>Maximum number of registered participants to allow. After max is reached, a custom Event Full message is displayed. If NULL, allow unlimited number of participants.</comment> |
150 | <add>1.7</add> | |
6a488035 | 151 | </field> |
3f3a3ba0 CW |
152 | <field> |
153 | <name>event_full_text</name> | |
154 | <type>text</type> | |
6a488035 TO |
155 | <title>Event Information</title> |
156 | <htmlType>textarea</htmlType> | |
157 | <rows>4</rows> | |
158 | <cols>60</cols> | |
159 | <localizable>true</localizable> | |
3f3a3ba0 CW |
160 | <comment>Message to display on Event Information page and INSTEAD OF Event Registration form if maximum participants are signed up. Can include email address/info about getting on a waiting list, etc. Text and html allowed.</comment> |
161 | <add>1.7</add> | |
6a488035 | 162 | </field> |
3f3a3ba0 CW |
163 | <field> |
164 | <name>is_monetary</name> | |
6a488035 | 165 | <title>Is this a PAID event?</title> |
3f3a3ba0 | 166 | <type>boolean</type> |
6a488035 | 167 | <default>0</default> |
3f3a3ba0 CW |
168 | <comment>If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.</comment> |
169 | <add>1.7</add> | |
170 | </field> | |
171 | <field> | |
172 | <name>contribution_type_id</name> | |
173 | <type>int unsigned</type> | |
174 | <default>0</default> | |
175 | <comment>Contribution type assigned to paid event registrations for this event. Required if is_monetary is true.</comment> | |
6a488035 TO |
176 | <add>1.7</add> |
177 | <drop>4.3</drop> | |
178 | </field> | |
3f3a3ba0 CW |
179 | <field> |
180 | <name>financial_type_id</name> | |
181 | <type>int unsigned</type> | |
6a488035 TO |
182 | <title>Financial Type ID</title> |
183 | <default>NULL</default> | |
6d68a4cb CW |
184 | <comment>Financial type assigned to paid event registrations for this event. Required if is_monetary is true.</comment> |
185 | <pseudoconstant> | |
186 | <table>civicrm_financial_type</table> | |
187 | <keyColumn>id</keyColumn> | |
188 | <labelColumn>name</labelColumn> | |
189 | </pseudoconstant> | |
3f3a3ba0 | 190 | <add>4.3</add> |
6a488035 TO |
191 | </field> |
192 | <field> | |
193 | <name>payment_processor</name> | |
194 | <type>varchar</type> | |
195 | <length>128</length> | |
196 | <comment>Payment Processors configured for this Event (if is_monetary is true)</comment> | |
6d68a4cb CW |
197 | <pseudoconstant> |
198 | <table>civicrm_payment_processor</table> | |
199 | <keyColumn>id</keyColumn> | |
200 | <labelColumn>name</labelColumn> | |
201 | </pseudoconstant> | |
6a488035 TO |
202 | <add>1.8</add> |
203 | </field> | |
3f3a3ba0 | 204 | <field> |
6a488035 TO |
205 | <name>is_map</name> |
206 | <title>Map Enabled</title> | |
3f3a3ba0 | 207 | <type>boolean</type> |
6a488035 | 208 | <default>0</default> |
3f3a3ba0 CW |
209 | <comment>Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?</comment> |
210 | <add>1.7</add> | |
211 | </field> | |
6a488035 TO |
212 | <field> |
213 | <name>is_active</name> | |
214 | <title>Is Active</title> | |
215 | <type>boolean</type> | |
216 | <default>0</default> | |
3f3a3ba0 CW |
217 | <comment>Is this Event enabled or disabled/cancelled?</comment> |
218 | <add>1.7</add> | |
6a488035 TO |
219 | </field> |
220 | <field> | |
221 | <name>fee_label</name> | |
222 | <type>varchar</type> | |
223 | <import>true</import> | |
224 | <title>Fee Label</title> | |
225 | <headerPattern>/^fee|(f(ee\s)?label)$/i</headerPattern> | |
226 | <length>255</length> | |
227 | <localizable>true</localizable> | |
228 | <add>1.8</add> | |
3f3a3ba0 CW |
229 | </field> |
230 | <field> | |
231 | <name>is_show_location</name> | |
232 | <type>boolean</type> | |
6a488035 | 233 | <title>show location</title> |
3f3a3ba0 CW |
234 | <default>1</default> |
235 | <comment>If true, show event location.</comment> | |
236 | <add>1.7</add> | |
237 | </field> | |
6a488035 TO |
238 | <field> |
239 | <name>loc_block_id</name> | |
240 | <type>int unsigned</type> | |
241 | <title>Location Block ID</title> | |
242 | <comment>FK to Location Block ID</comment> | |
243 | <add>2.0</add> | |
244 | </field> | |
245 | <foreignKey> | |
246 | <name>loc_block_id</name> | |
247 | <table>civicrm_loc_block</table> | |
248 | <key>id</key> | |
249 | <onDelete>SET NULL</onDelete> | |
250 | <add>2.0</add> | |
251 | </foreignKey> | |
252 | <field> | |
253 | <name>receipt_text</name> | |
254 | <type>varchar</type> | |
255 | <htmlType>textarea</htmlType> | |
256 | <rows>6</rows> | |
257 | <cols>50</cols> | |
258 | <length>255</length> | |
259 | <comment>Receipt Text for off-line event participation</comment> | |
260 | <add>2.0</add> | |
261 | <drop>2.1</drop> | |
262 | </field> | |
3f3a3ba0 CW |
263 | <field> |
264 | <name>default_role_id</name> | |
6a488035 TO |
265 | <uniqueName>default_role_id</uniqueName> |
266 | <title>Participant Role</title> | |
267 | <import>true</import> | |
3f3a3ba0 | 268 | <type>int unsigned</type> |
6a488035 | 269 | <default>1</default> |
3f3a3ba0 CW |
270 | <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment> |
271 | <add>2.0</add> | |
6a488035 | 272 | </field> |
3f3a3ba0 CW |
273 | <field> |
274 | <name>intro_text</name> | |
275 | <type>text</type> | |
6a488035 TO |
276 | <htmlType>textarea</htmlType> |
277 | <rows>6</rows> | |
278 | <cols>50</cols> | |
279 | <title>Introductory Message</title> | |
280 | <localizable>true</localizable> | |
281 | <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment> | |
3f3a3ba0 CW |
282 | <add>1.7</add> |
283 | </field> | |
284 | <field> | |
285 | <name>footer_text</name> | |
6a488035 | 286 | <title>Footer Message</title> |
3f3a3ba0 | 287 | <type>text</type> |
6a488035 TO |
288 | <htmlType>textarea</htmlType> |
289 | <rows>6</rows> | |
290 | <cols>50</cols> | |
291 | <localizable>true</localizable> | |
292 | <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment> | |
3f3a3ba0 CW |
293 | <add>1.7</add> |
294 | </field> | |
295 | <field> | |
296 | <name>confirm_title</name> | |
297 | <type>varchar</type> | |
6a488035 | 298 | <title>Confirmation Title</title> |
3f3a3ba0 | 299 | <length>255</length> |
6a488035 TO |
300 | <default>NULL</default> |
301 | <localizable>true</localizable> | |
302 | <comment>Title for Confirmation page.</comment> | |
3f3a3ba0 CW |
303 | <add>1.7</add> |
304 | </field> | |
305 | <field> | |
306 | <name>confirm_text</name> | |
307 | <type>text</type> | |
6a488035 TO |
308 | <htmlType>textarea</htmlType> |
309 | <rows>6</rows> | |
310 | <cols>50</cols> | |
311 | <title>Confirm Text</title> | |
312 | <localizable>true</localizable> | |
313 | <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment> | |
3f3a3ba0 CW |
314 | <add>1.7</add> |
315 | </field> | |
316 | <field> | |
317 | <name>confirm_footer_text</name> | |
318 | <type>text</type> | |
6a488035 TO |
319 | <title>Footer Text</title> |
320 | <htmlType>textarea</htmlType> | |
321 | <rows>6</rows> | |
322 | <cols>50</cols> | |
323 | <localizable>true</localizable> | |
324 | <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment> | |
3f3a3ba0 CW |
325 | <add>1.7</add> |
326 | </field> | |
327 | <field> | |
328 | <name>is_email_confirm</name> | |
329 | <type>boolean</type> | |
6a488035 | 330 | <title>Is confirm email</title> |
3f3a3ba0 CW |
331 | <default>0</default> |
332 | <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment> | |
333 | <add>1.7</add> | |
334 | </field> | |
335 | <field> | |
336 | <name>confirm_email_text</name> | |
337 | <type>text</type> | |
6a488035 TO |
338 | <title>Confirmation Email Text</title> |
339 | <htmlType>textarea</htmlType> | |
340 | <rows>4</rows> | |
341 | <cols>50</cols> | |
342 | <localizable>true</localizable> | |
343 | <comment>text to include above standard event info on confirmation email. emails are text-only, so do not allow html for now</comment> | |
3f3a3ba0 CW |
344 | <add>1.7</add> |
345 | </field> | |
346 | <field> | |
347 | <name>confirm_from_name</name> | |
348 | <type>varchar</type> | |
6a488035 | 349 | <title>Confirm From Name</title> |
3f3a3ba0 | 350 | <length>255</length> |
6a488035 TO |
351 | <localizable>true</localizable> |
352 | <comment>FROM email name used for confirmation emails.</comment> | |
3f3a3ba0 | 353 | <add>1.7</add> |
6a488035 | 354 | </field> |
3f3a3ba0 CW |
355 | <field> |
356 | <name>confirm_from_email</name> | |
357 | <type>varchar</type> | |
6a488035 | 358 | <title>Confirm From Email</title> |
3f3a3ba0 | 359 | <length>255</length> |
6a488035 | 360 | <comment>FROM email address used for confirmation emails.</comment> |
3f3a3ba0 CW |
361 | <add>1.7</add> |
362 | </field> | |
363 | <field> | |
364 | <name>cc_confirm</name> | |
365 | <type>varchar</type> | |
366 | <length>255</length> | |
6a488035 | 367 | <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment> |
3f3a3ba0 | 368 | <add>1.7</add> |
6a488035 | 369 | </field> |
3f3a3ba0 CW |
370 | <field> |
371 | <name>bcc_confirm</name> | |
372 | <type>varchar</type> | |
373 | <length>255</length> | |
6a488035 | 374 | <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment> |
3f3a3ba0 | 375 | <add>1.7</add> |
6a488035 TO |
376 | </field> |
377 | <field> | |
378 | <name>default_fee_id</name> | |
379 | <type>int unsigned</type> | |
380 | <title>Default Fee ID</title> | |
381 | <comment>FK to civicrm_option_value.</comment> | |
382 | <add>1.7</add> | |
383 | </field> | |
384 | <field> | |
385 | <name>default_discount_fee_id</name> | |
386 | <type>int unsigned</type> | |
387 | <title>Default Discount Fee ID</title> | |
388 | <comment>FK to civicrm_option_value.</comment> | |
389 | <add>1.7</add> | |
390 | </field> | |
3f3a3ba0 CW |
391 | <field> |
392 | <name>thankyou_title</name> | |
393 | <type>varchar</type> | |
6a488035 | 394 | <title>ThankYou Title</title> |
3f3a3ba0 | 395 | <length>255</length> |
6a488035 TO |
396 | <default>NULL</default> |
397 | <localizable>true</localizable> | |
398 | <comment>Title for ThankYou page.</comment> | |
3f3a3ba0 CW |
399 | <add>1.7</add> |
400 | </field> | |
401 | <field> | |
402 | <name>thankyou_text</name> | |
403 | <type>text</type> | |
6a488035 TO |
404 | <htmlType>textarea</htmlType> |
405 | <rows>6</rows> | |
406 | <cols>50</cols> | |
407 | <title>ThankYou Text</title> | |
408 | <localizable>true</localizable> | |
409 | <comment>ThankYou Text.</comment> | |
3f3a3ba0 CW |
410 | <add>1.7</add> |
411 | </field> | |
412 | <field> | |
413 | <name>thankyou_footer_text</name> | |
414 | <type>text</type> | |
6a488035 TO |
415 | <title>Footer Text</title> |
416 | <htmlType>textarea</htmlType> | |
417 | <rows>6</rows> | |
418 | <cols>50</cols> | |
419 | <localizable>true</localizable> | |
420 | <comment>Footer message.</comment> | |
3f3a3ba0 CW |
421 | <add>1.7</add> |
422 | </field> | |
423 | <field> | |
6a488035 TO |
424 | <name>is_pay_later</name> |
425 | <title>Pay Later Allowed</title> | |
426 | <type>boolean</type> | |
427 | <default>0</default> | |
3f3a3ba0 CW |
428 | <comment>if true - allows the user to send payment directly to the org later</comment> |
429 | <add>2.0</add> | |
6a488035 | 430 | </field> |
3f3a3ba0 | 431 | <field> |
6a488035 TO |
432 | <name>pay_later_text</name> |
433 | <title>Pay Later Text</title> | |
434 | <type>text</type> | |
435 | <localizable>true</localizable> | |
3f3a3ba0 | 436 | <comment>The text displayed to the user in the main form</comment> |
6a488035 TO |
437 | <add>2.0</add> |
438 | </field> | |
439 | <field> | |
440 | <name>pay_later_receipt</name> | |
441 | <title>Pay Later Receipt Text</title> | |
442 | <type>text</type> | |
443 | <localizable>true</localizable> | |
3f3a3ba0 | 444 | <comment>The receipt sent to the user instead of the normal receipt text</comment> |
6a488035 TO |
445 | <add>2.0</add> |
446 | </field> | |
3f3a3ba0 | 447 | <field> |
6a488035 TO |
448 | <name>is_partial_payment</name> |
449 | <title>Partial Payments Enabled</title> | |
3f3a3ba0 CW |
450 | <type>boolean</type> |
451 | <default>0</default> | |
452 | <comment>is partial payment enabled for this event</comment> | |
453 | <add>4.3</add> | |
6a488035 | 454 | </field> |
3f3a3ba0 | 455 | <field> |
6a488035 TO |
456 | <name>initial_amount_label</name> |
457 | <title>Initial Amount Label</title> | |
458 | <type>varchar</type> | |
3f3a3ba0 | 459 | <length>255</length> |
6a488035 | 460 | <localizable>true</localizable> |
3f3a3ba0 CW |
461 | <comment>Initial amount label for partial payment</comment> |
462 | <add>4.3</add> | |
6a488035 | 463 | </field> |
3f3a3ba0 | 464 | <field> |
6a488035 TO |
465 | <name>initial_amount_help_text</name> |
466 | <title>Initial Amount Help Text</title> | |
467 | <type>text</type> | |
468 | <localizable>true</localizable> | |
3f3a3ba0 CW |
469 | <comment>Initial amount help text for partial payment</comment> |
470 | <add>4.3</add> | |
6a488035 | 471 | </field> |
3f3a3ba0 | 472 | <field> |
6a488035 TO |
473 | <name>min_initial_amount</name> |
474 | <title>Minimum Initial Amount</title> | |
475 | <type>decimal</type> | |
3f3a3ba0 CW |
476 | <comment>Minimum initial amount for partial payment</comment> |
477 | <add>4.3</add> | |
6a488035 | 478 | </field> |
3f3a3ba0 | 479 | <field> |
6a488035 TO |
480 | <name>is_multiple_registrations</name> |
481 | <title>Allow Multiple Registrations</title> | |
482 | <type>boolean</type> | |
483 | <default>0</default> | |
3f3a3ba0 CW |
484 | <comment>if true - allows the user to register multiple participants for event</comment> |
485 | <add>2.1</add> | |
6a488035 | 486 | </field> |
3f3a3ba0 CW |
487 | <field> |
488 | <name>allow_same_participant_emails</name> | |
489 | <type>boolean</type> | |
6a488035 | 490 | <title>Does Event allow multiple registrations from same email address?</title> |
3f3a3ba0 CW |
491 | <default>0</default> |
492 | <comment>if true - allows the user to register multiple registrations from same email address.</comment> | |
493 | <add>2.2</add> | |
494 | </field> | |
6a488035 TO |
495 | <field> |
496 | <name>has_waitlist</name> | |
497 | <title>Waitlist Enabled</title> | |
498 | <type>boolean</type> | |
499 | <comment>Whether the event has waitlist support.</comment> | |
500 | <add>3.0</add> | |
501 | </field> | |
502 | <field> | |
503 | <name>requires_approval</name> | |
504 | <type>boolean</type> | |
505 | <comment>Whether participants require approval before they can finish registering.</comment> | |
506 | <add>3.0</add> | |
507 | </field> | |
508 | <field> | |
509 | <name>expiration_time</name> | |
510 | <type>int unsigned</type> | |
511 | <comment>Expire pending but unconfirmed registrations after this many hours.</comment> | |
512 | <add>3.0</add> | |
513 | </field> | |
514 | <field> | |
515 | <name>waitlist_text</name> | |
516 | <type>text</type> | |
517 | <htmlType>textarea</htmlType> | |
518 | <rows>4</rows> | |
519 | <cols>60</cols> | |
520 | <localizable>true</localizable> | |
521 | <comment>Text to display when the event is full, but participants can signup for a waitlist.</comment> | |
522 | <add>3.0</add> | |
523 | </field> | |
524 | <field> | |
525 | <name>approval_req_text</name> | |
526 | <type>text</type> | |
527 | <htmlType>textarea</htmlType> | |
528 | <rows>4</rows> | |
529 | <cols>60</cols> | |
530 | <localizable>true</localizable> | |
531 | <comment>Text to display when the approval is required to complete registration for an event.</comment> | |
532 | <add>3.0</add> | |
533 | </field> | |
534 | <field> | |
535 | <name>is_template</name> | |
536 | <title>Is an Event Template</title> | |
537 | <type>boolean</type> | |
538 | <default>0</default> | |
539 | <comment>whether the event has template</comment> | |
540 | <add>3.0</add> | |
541 | </field> | |
3f3a3ba0 CW |
542 | <field> |
543 | <name>template_title</name> | |
6a488035 | 544 | <uniqueName>template_title</uniqueName> |
3f3a3ba0 | 545 | <type>varchar</type> |
6a488035 TO |
546 | <import>true</import> |
547 | <title>Event Template Title</title> | |
548 | <headerPattern>/(template.)?title$/i</headerPattern> | |
3f3a3ba0 | 549 | <length>255</length> |
6a488035 TO |
550 | <localizable>true</localizable> |
551 | <comment>Event Template Title</comment> | |
3f3a3ba0 | 552 | <add>3.0</add> |
6a488035 TO |
553 | </field> |
554 | <field> | |
555 | <name>created_id</name> | |
556 | <type>int unsigned</type> | |
557 | <title>Created By Contact ID</title> | |
558 | <comment>FK to civicrm_contact, who created this event</comment> | |
559 | <add>3.0</add> | |
560 | </field> | |
561 | <foreignKey> | |
562 | <name>created_id</name> | |
563 | <table>civicrm_contact</table> | |
564 | <key>id</key> | |
565 | <add>3.0</add> | |
566 | <onDelete>SET NULL</onDelete> | |
567 | </foreignKey> | |
568 | <field> | |
569 | <name>created_date</name> | |
570 | <type>datetime</type> | |
571 | <title>Event Created Date</title> | |
572 | <comment>Date and time that event was created.</comment> | |
573 | <add>3.0</add> | |
574 | </field> | |
3f3a3ba0 CW |
575 | <field> |
576 | <name>currency</name> | |
577 | <type>varchar</type> | |
6a488035 TO |
578 | <length>3</length> |
579 | <import>true</import> | |
580 | <headerPattern>/cur(rency)?/i</headerPattern> | |
581 | <dataPattern>/^[A-Z]{3}$/i</dataPattern> | |
582 | <comment>3 character string, value from config setting or input via user.</comment> | |
583 | <add>3.3</add> | |
bd44e0df AS |
584 | <pseudoconstant> |
585 | <table>civicrm_currency</table> | |
586 | <keyColumn>name</keyColumn> | |
a38a89fc CW |
587 | <labelColumn>full_name</labelColumn> |
588 | <nameColumn>numeric_code</nameColumn> | |
bd44e0df | 589 | </pseudoconstant> |
6a488035 TO |
590 | </field> |
591 | <field> | |
592 | <name>campaign_id</name> | |
593 | <type>int unsigned</type> | |
594 | <title>Campaign ID</title> | |
595 | <comment>The campaign for which this event has been created.</comment> | |
3e3eacd0 CW |
596 | <pseudoconstant> |
597 | <table>civicrm_campaign</table> | |
598 | <keyColumn>id</keyColumn> | |
599 | <labelColumn>title</labelColumn> | |
600 | <condition>(end_date IS NULL OR end_date > NOW())</condition> | |
601 | </pseudoconstant> | |
3f3a3ba0 | 602 | <add>3.4</add> |
6a488035 TO |
603 | </field> |
604 | <foreignKey> | |
605 | <name>campaign_id</name> | |
606 | <table>civicrm_campaign</table> | |
607 | <key>id</key> | |
608 | <onDelete>SET NULL</onDelete> | |
609 | </foreignKey> | |
610 | <field> | |
611 | <name>is_share</name> | |
612 | <title>Is shared through social media</title> | |
613 | <type>boolean</type> | |
614 | <default>1</default> | |
615 | <comment>Can people share the event through social media?</comment> | |
3f3a3ba0 | 616 | <add>4.1</add> |
6a488035 TO |
617 | </field> |
618 | <field> | |
619 | <name>parent_event_id</name> | |
620 | <type>int unsigned</type> | |
621 | <title>Parent Event ID</title> | |
622 | <default>NULL</default> | |
623 | <comment>Implicit FK to civicrm_event: parent event</comment> | |
624 | <add>4.1</add> | |
625 | </field> | |
626 | <index> | |
627 | <name>index_parent_event_id</name> | |
628 | <fieldName>parent_event_id</fieldName> | |
629 | <add>4.1</add> | |
630 | </index> | |
631 | <field> | |
632 | <name>slot_label_id</name> | |
3f3a3ba0 CW |
633 | <type>int unsigned</type> |
634 | <title>Subevent Slot Label ID</title> | |
6a488035 | 635 | <default>NULL</default> |
3f3a3ba0 | 636 | <comment>Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.</comment> |
6a488035 TO |
637 | <add>4.1</add> |
638 | </field> | |
639 | </table> |