Merge pull request #17674 from seamuslee001/contacttype_test_mysql8_ordering_issue
[civicrm-core.git] / xml / schema / Event / Event.xml
CommitLineData
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>
449c4e6b 9 <icon>fa-calendar</icon>
3f3a3ba0
CW
10 <field>
11 <name>id</name>
12 <type>int unsigned</type>
e51b7372 13 <title>Event ID</title>
3f3a3ba0
CW
14 <required>true</required>
15 <comment>Event</comment>
16 <add>1.7</add>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
23 <name>title</name>
6a488035 24 <uniqueName>event_title</uniqueName>
3f3a3ba0 25 <type>varchar</type>
6a488035
TO
26 <import>true</import>
27 <title>Event Title</title>
28 <headerPattern>/(event.)?title$/i</headerPattern>
3f3a3ba0 29 <length>255</length>
6a488035
TO
30 <localizable>true</localizable>
31 <comment>Event Title (e.g. Fall Fundraiser Dinner)</comment>
614d72ec 32 <html>
33 <type>Text</type>
34 </html>
3f3a3ba0
CW
35 <add>1.7</add>
36 </field>
37 <field>
6a488035 38 <name>summary</name>
3f3a3ba0
CW
39 <type>text</type>
40 <title>Event Summary</title>
7deea513 41 <html>
42 <type>TextArea</type>
817807ab 43 <rows>4</rows>
44 <cols>60</cols>
7deea513 45 </html>
6a488035
TO
46 <localizable>true</localizable>
47 <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
48 <add>1.7</add>
49 </field>
50 <field>
51 <name>description</name>
52 <type>text</type>
6a488035 53 <uniqueName>event_description</uniqueName>
3f3a3ba0 54 <title>Event Description</title>
7deea513 55 <html>
c413e8dc 56 <type>RichTextEditor</type>
817807ab 57 <rows>8</rows>
58 <cols>60</cols>
7deea513 59 </html>
6a488035
TO
60 <localizable>true</localizable>
61 <comment>Full description of event. Text and html allowed. Displayed on built-in Event Information screens.</comment>
62 <add>1.7</add>
63 </field>
64 <field>
65 <name>event_type_id</name>
66 <type>int unsigned</type>
67 <uniqueName>event_type_id</uniqueName>
7c759b5e 68 <title>Event Type</title>
6a488035
TO
69 <default>0</default>
70 <pseudoconstant>
6a488035 71 <optionGroupName>event_type</optionGroupName>
6a488035 72 </pseudoconstant>
614d72ec 73 <html>
e0991796 74 <type>Select</type>
614d72ec 75 </html>
3f3a3ba0
CW
76 <comment>Event Type ID.Implicit FK to civicrm_option_value where option_group = event_type.</comment>
77 <add>1.7</add>
78 </field>
6a488035
TO
79 <index>
80 <name>index_event_type_id</name>
81 <fieldName>event_type_id</fieldName>
82 <add>1.8</add>
83 </index>
3f3a3ba0
CW
84 <field>
85 <name>participant_listing_id</name>
86 <type>int unsigned</type>
6a488035 87 <uniqueName>participant_listing_id</uniqueName>
7c759b5e 88 <title>Participant Listing</title>
3f3a3ba0 89 <default>0</default>
7c759b5e
CW
90 <pseudoconstant>
91 <optionGroupName>participant_listing</optionGroupName>
92 </pseudoconstant>
3f3a3ba0
CW
93 <comment>Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.</comment>
94 <add>2.0</add>
614d72ec 95 <html>
96 <type>Select</type>
97 </html>
3f3a3ba0 98 </field>
6a488035
TO
99 <index>
100 <name>index_participant_listing_id</name>
101 <fieldName>participant_listing_id</fieldName>
102 <add>2.0</add>
103 </index>
3f3a3ba0
CW
104 <field>
105 <name>is_public</name>
106 <type>boolean</type>
107 <title>Is Event Public</title>
108 <default>1</default>
109 <comment>Public events will be included in the iCal feeds. Access to private event information may be limited using ACLs.</comment>
110 <add>1.7</add>
614d72ec 111 <html>
112 <type>CheckBox</type>
113 </html>
3f3a3ba0 114 </field>
6a488035
TO
115 <field>
116 <name>start_date</name>
117 <type>datetime</type>
118 <uniqueName>event_start_date</uniqueName>
119 <title>Event Start Date</title>
120 <headerPattern>/^start|(s(tart\s)?date)$/i</headerPattern>
121 <import>true</import>
122 <comment>Date and time that event starts.</comment>
123 <add>1.7</add>
614d72ec 124 <html>
125 <type>Select Date</type>
c03ba827 126 <formatType>activityDateTime</formatType>
614d72ec 127 </html>
6a488035
TO
128 </field>
129 <field>
130 <name>end_date</name>
131 <type>datetime</type>
132 <uniqueName>event_end_date</uniqueName>
133 <title>Event End Date</title>
134 <headerPattern>/^end|(e(nd\s)?date)$/i</headerPattern>
135 <import>true</import>
136 <comment>Date and time that event ends. May be NULL if no defined end date/time</comment>
137 <add>1.7</add>
614d72ec 138 <html>
139 <type>Select Date</type>
c03ba827 140 <formatType>activityDateTime</formatType>
614d72ec 141 </html>
6a488035 142 </field>
3f3a3ba0
CW
143 <field>
144 <name>is_online_registration</name>
145 <type>boolean</type>
6a488035 146 <title>Is Online Registration</title>
3f3a3ba0
CW
147 <default>0</default>
148 <comment>If true, include registration link on Event Info page.</comment>
149 <add>1.7</add>
614d72ec 150 <html>
151 <type>CheckBox</type>
152 </html>
6a488035 153 </field>
3f3a3ba0
CW
154 <field>
155 <name>registration_link_text</name>
156 <type>varchar</type>
6a488035 157 <title>Event Registration Link Text</title>
3f3a3ba0 158 <length>255</length>
6a488035
TO
159 <localizable>true</localizable>
160 <comment>Text for link to Event Registration form which is displayed on Event Information screen when is_online_registration is true.</comment>
3f3a3ba0 161 <add>1.7</add>
614d72ec 162 <html>
163 <type>Text</type>
164 </html>
3f3a3ba0 165 </field>
6a488035
TO
166 <field>
167 <name>registration_start_date</name>
168 <type>datetime</type>
169 <comment>Date and time that online registration starts.</comment>
170 <add>1.8</add>
614d72ec 171 <html>
172 <type>Select Date</type>
c03ba827 173 <formatType>activityDateTime</formatType>
614d72ec 174 </html>
6a488035
TO
175 </field>
176 <field>
177 <name>registration_end_date</name>
178 <type>datetime</type>
179 <comment>Date and time that online registration ends.</comment>
180 <add>1.8</add>
614d72ec 181 <html>
182 <type>Select Date</type>
c03ba827 183 <formatType>activityDateTime</formatType>
614d72ec 184 </html>
6a488035 185 </field>
3f3a3ba0
CW
186 <field>
187 <name>max_participants</name>
188 <type>int unsigned</type>
6a488035
TO
189 <title>Max Participants</title>
190 <default>NULL</default>
3f3a3ba0
CW
191 <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>
192 <add>1.7</add>
614d72ec 193 <html>
194 <type>Text</type>
195 </html>
6a488035 196 </field>
3f3a3ba0
CW
197 <field>
198 <name>event_full_text</name>
199 <type>text</type>
6a488035 200 <title>Event Information</title>
7deea513 201 <html>
202 <type>TextArea</type>
817807ab 203 <rows>4</rows>
204 <cols>60</cols>
7deea513 205 </html>
6a488035 206 <localizable>true</localizable>
3f3a3ba0
CW
207 <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>
208 <add>1.7</add>
6a488035 209 </field>
3f3a3ba0
CW
210 <field>
211 <name>is_monetary</name>
6a488035 212 <title>Is this a PAID event?</title>
3f3a3ba0 213 <type>boolean</type>
6a488035 214 <default>0</default>
3f3a3ba0
CW
215 <comment>If true, one or more fee amounts must be set and a Payment Processor must be configured for Online Event Registration.</comment>
216 <add>1.7</add>
614d72ec 217 <html>
218 <type>CheckBox</type>
219 </html>
3f3a3ba0
CW
220 </field>
221 <field>
222 <name>contribution_type_id</name>
223 <type>int unsigned</type>
224 <default>0</default>
225 <comment>Contribution type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
6a488035
TO
226 <add>1.7</add>
227 <drop>4.3</drop>
228 </field>
3f3a3ba0
CW
229 <field>
230 <name>financial_type_id</name>
231 <type>int unsigned</type>
7c759b5e 232 <title>Financial Type</title>
6a488035 233 <default>NULL</default>
6d68a4cb
CW
234 <comment>Financial type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
235 <pseudoconstant>
236 <table>civicrm_financial_type</table>
237 <keyColumn>id</keyColumn>
238 <labelColumn>name</labelColumn>
239 </pseudoconstant>
614d72ec 240 <html>
e0991796 241 <type>Select</type>
614d72ec 242 </html>
3f3a3ba0 243 <add>4.3</add>
6a488035
TO
244 </field>
245 <field>
246 <name>payment_processor</name>
247 <type>varchar</type>
248 <length>128</length>
249 <comment>Payment Processors configured for this Event (if is_monetary is true)</comment>
6d68a4cb
CW
250 <pseudoconstant>
251 <table>civicrm_payment_processor</table>
252 <keyColumn>id</keyColumn>
253 <labelColumn>name</labelColumn>
254 </pseudoconstant>
614d72ec 255 <html>
e0991796 256 <type>Select</type>
614d72ec 257 </html>
6a488035
TO
258 <add>1.8</add>
259 </field>
3f3a3ba0 260 <field>
6a488035
TO
261 <name>is_map</name>
262 <title>Map Enabled</title>
3f3a3ba0 263 <type>boolean</type>
6a488035 264 <default>0</default>
3f3a3ba0
CW
265 <comment>Include a map block on the Event Information page when geocode info is available and a mapping provider has been specified?</comment>
266 <add>1.7</add>
614d72ec 267 <html>
268 <type>CheckBox</type>
269 </html>
3f3a3ba0 270 </field>
6a488035
TO
271 <field>
272 <name>is_active</name>
273 <title>Is Active</title>
274 <type>boolean</type>
275 <default>0</default>
3f3a3ba0
CW
276 <comment>Is this Event enabled or disabled/cancelled?</comment>
277 <add>1.7</add>
614d72ec 278 <html>
279 <type>CheckBox</type>
280 </html>
6a488035
TO
281 </field>
282 <field>
283 <name>fee_label</name>
284 <type>varchar</type>
285 <import>true</import>
286 <title>Fee Label</title>
287 <headerPattern>/^fee|(f(ee\s)?label)$/i</headerPattern>
288 <length>255</length>
289 <localizable>true</localizable>
614d72ec 290 <html>
291 <type>Text</type>
292 </html>
6a488035 293 <add>1.8</add>
3f3a3ba0
CW
294 </field>
295 <field>
296 <name>is_show_location</name>
297 <type>boolean</type>
6a488035 298 <title>show location</title>
3f3a3ba0
CW
299 <default>1</default>
300 <comment>If true, show event location.</comment>
301 <add>1.7</add>
614d72ec 302 <html>
303 <type>CheckBox</type>
304 </html>
3f3a3ba0 305 </field>
6a488035
TO
306 <field>
307 <name>loc_block_id</name>
308 <type>int unsigned</type>
309 <title>Location Block ID</title>
310 <comment>FK to Location Block ID</comment>
311 <add>2.0</add>
312 </field>
313 <foreignKey>
314 <name>loc_block_id</name>
315 <table>civicrm_loc_block</table>
316 <key>id</key>
317 <onDelete>SET NULL</onDelete>
318 <add>2.0</add>
319 </foreignKey>
320 <field>
321 <name>receipt_text</name>
322 <type>varchar</type>
7deea513 323 <html>
324 <type>TextArea</type>
817807ab 325 <rows>6</rows>
326 <cols>50</cols>
7deea513 327 </html>
6a488035
TO
328 <length>255</length>
329 <comment>Receipt Text for off-line event participation</comment>
330 <add>2.0</add>
331 <drop>2.1</drop>
332 </field>
3f3a3ba0
CW
333 <field>
334 <name>default_role_id</name>
6a488035 335 <uniqueName>default_role_id</uniqueName>
35b13852 336 <title>Default Role</title>
6a488035 337 <import>true</import>
3f3a3ba0 338 <type>int unsigned</type>
6a488035 339 <default>1</default>
7c759b5e
CW
340 <pseudoconstant>
341 <optionGroupName>participant_role</optionGroupName>
342 </pseudoconstant>
3f3a3ba0
CW
343 <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
344 <add>2.0</add>
614d72ec 345 <html>
346 <type>Select</type>
347 </html>
6a488035 348 </field>
3f3a3ba0
CW
349 <field>
350 <name>intro_text</name>
351 <type>text</type>
7deea513 352 <html>
c413e8dc 353 <type>RichTextEditor</type>
817807ab 354 <rows>6</rows>
355 <cols>50</cols>
7deea513 356 </html>
6a488035
TO
357 <title>Introductory Message</title>
358 <localizable>true</localizable>
359 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
360 <add>1.7</add>
361 </field>
362 <field>
363 <name>footer_text</name>
6a488035 364 <title>Footer Message</title>
3f3a3ba0 365 <type>text</type>
7deea513 366 <html>
c413e8dc 367 <type>RichTextEditor</type>
817807ab 368 <rows>6</rows>
369 <cols>50</cols>
7deea513 370 </html>
6a488035
TO
371 <localizable>true</localizable>
372 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
373 <add>1.7</add>
374 </field>
375 <field>
376 <name>confirm_title</name>
377 <type>varchar</type>
6a488035 378 <title>Confirmation Title</title>
3f3a3ba0 379 <length>255</length>
6a488035
TO
380 <default>NULL</default>
381 <localizable>true</localizable>
382 <comment>Title for Confirmation page.</comment>
614d72ec 383 <html>
384 <type>Text</type>
385 </html>
3f3a3ba0
CW
386 <add>1.7</add>
387 </field>
388 <field>
389 <name>confirm_text</name>
390 <type>text</type>
7deea513 391 <html>
c413e8dc 392 <type>RichTextEditor</type>
817807ab 393 <rows>6</rows>
394 <cols>50</cols>
7deea513 395 </html>
6a488035
TO
396 <title>Confirm Text</title>
397 <localizable>true</localizable>
398 <comment>Introductory message for Event Registration page. Text and html allowed. Displayed at the top of Event Registration form.</comment>
3f3a3ba0
CW
399 <add>1.7</add>
400 </field>
401 <field>
402 <name>confirm_footer_text</name>
403 <type>text</type>
6a488035 404 <title>Footer Text</title>
7deea513 405 <html>
c413e8dc 406 <type>RichTextEditor</type>
817807ab 407 <rows>6</rows>
408 <cols>50</cols>
7deea513 409 </html>
6a488035
TO
410 <localizable>true</localizable>
411 <comment>Footer message for Event Registration page. Text and html allowed. Displayed at the bottom of Event Registration form.</comment>
3f3a3ba0
CW
412 <add>1.7</add>
413 </field>
414 <field>
415 <name>is_email_confirm</name>
416 <type>boolean</type>
6a488035 417 <title>Is confirm email</title>
3f3a3ba0
CW
418 <default>0</default>
419 <comment>If true, confirmation is automatically emailed to contact on successful registration.</comment>
420 <add>1.7</add>
614d72ec 421 <html>
422 <type>CheckBox</type>
423 </html>
3f3a3ba0
CW
424 </field>
425 <field>
426 <name>confirm_email_text</name>
427 <type>text</type>
6a488035 428 <title>Confirmation Email Text</title>
7deea513 429 <html>
430 <type>TextArea</type>
817807ab 431 <rows>4</rows>
432 <cols>50</cols>
7deea513 433 </html>
6a488035
TO
434 <localizable>true</localizable>
435 <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
436 <add>1.7</add>
437 </field>
438 <field>
439 <name>confirm_from_name</name>
440 <type>varchar</type>
6a488035 441 <title>Confirm From Name</title>
3f3a3ba0 442 <length>255</length>
6a488035
TO
443 <localizable>true</localizable>
444 <comment>FROM email name used for confirmation emails.</comment>
3f3a3ba0 445 <add>1.7</add>
614d72ec 446 <html>
447 <type>Text</type>
448 </html>
6a488035 449 </field>
3f3a3ba0
CW
450 <field>
451 <name>confirm_from_email</name>
452 <type>varchar</type>
6a488035 453 <title>Confirm From Email</title>
3f3a3ba0 454 <length>255</length>
6a488035 455 <comment>FROM email address used for confirmation emails.</comment>
3f3a3ba0 456 <add>1.7</add>
614d72ec 457 <html>
458 <type>Text</type>
459 </html>
3f3a3ba0
CW
460 </field>
461 <field>
462 <name>cc_confirm</name>
463 <type>varchar</type>
464 <length>255</length>
6a488035 465 <comment>comma-separated list of email addresses to cc each time a confirmation is sent</comment>
614d72ec 466 <html>
467 <type>Text</type>
468 </html>
3f3a3ba0 469 <add>1.7</add>
6a488035 470 </field>
3f3a3ba0
CW
471 <field>
472 <name>bcc_confirm</name>
473 <type>varchar</type>
474 <length>255</length>
6a488035 475 <comment>comma-separated list of email addresses to bcc each time a confirmation is sent</comment>
614d72ec 476 <html>
477 <type>Text</type>
478 </html>
3f3a3ba0 479 <add>1.7</add>
6a488035
TO
480 </field>
481 <field>
482 <name>default_fee_id</name>
483 <type>int unsigned</type>
484 <title>Default Fee ID</title>
485 <comment>FK to civicrm_option_value.</comment>
486 <add>1.7</add>
487 </field>
488 <field>
489 <name>default_discount_fee_id</name>
490 <type>int unsigned</type>
491 <title>Default Discount Fee ID</title>
492 <comment>FK to civicrm_option_value.</comment>
493 <add>1.7</add>
494 </field>
3f3a3ba0
CW
495 <field>
496 <name>thankyou_title</name>
497 <type>varchar</type>
6a488035 498 <title>ThankYou Title</title>
3f3a3ba0 499 <length>255</length>
6a488035
TO
500 <default>NULL</default>
501 <localizable>true</localizable>
502 <comment>Title for ThankYou page.</comment>
3f3a3ba0 503 <add>1.7</add>
614d72ec 504 <html>
505 <type>Text</type>
506 </html>
3f3a3ba0
CW
507 </field>
508 <field>
509 <name>thankyou_text</name>
510 <type>text</type>
7deea513 511 <html>
c413e8dc 512 <type>RichTextEditor</type>
817807ab 513 <rows>6</rows>
514 <cols>50</cols>
7deea513 515 </html>
6a488035
TO
516 <title>ThankYou Text</title>
517 <localizable>true</localizable>
518 <comment>ThankYou Text.</comment>
3f3a3ba0
CW
519 <add>1.7</add>
520 </field>
521 <field>
522 <name>thankyou_footer_text</name>
523 <type>text</type>
6a488035 524 <title>Footer Text</title>
7deea513 525 <html>
c413e8dc 526 <type>RichTextEditor</type>
817807ab 527 <rows>6</rows>
528 <cols>50</cols>
7deea513 529 </html>
6a488035
TO
530 <localizable>true</localizable>
531 <comment>Footer message.</comment>
3f3a3ba0
CW
532 <add>1.7</add>
533 </field>
534 <field>
6a488035
TO
535 <name>is_pay_later</name>
536 <title>Pay Later Allowed</title>
537 <type>boolean</type>
538 <default>0</default>
3f3a3ba0
CW
539 <comment>if true - allows the user to send payment directly to the org later</comment>
540 <add>2.0</add>
614d72ec 541 <html>
542 <type>CheckBox</type>
543 </html>
6a488035 544 </field>
3f3a3ba0 545 <field>
6a488035
TO
546 <name>pay_later_text</name>
547 <title>Pay Later Text</title>
548 <type>text</type>
549 <localizable>true</localizable>
3f3a3ba0 550 <comment>The text displayed to the user in the main form</comment>
6a488035 551 <add>2.0</add>
614d72ec 552 <html>
c413e8dc 553 <type>RichTextEditor</type>
614d72ec 554 </html>
6a488035
TO
555 </field>
556 <field>
557 <name>pay_later_receipt</name>
558 <title>Pay Later Receipt Text</title>
559 <type>text</type>
560 <localizable>true</localizable>
3f3a3ba0 561 <comment>The receipt sent to the user instead of the normal receipt text</comment>
6a488035 562 <add>2.0</add>
614d72ec 563 <html>
564 <type>Text</type>
565 </html>
6a488035 566 </field>
3f3a3ba0 567 <field>
6a488035
TO
568 <name>is_partial_payment</name>
569 <title>Partial Payments Enabled</title>
3f3a3ba0
CW
570 <type>boolean</type>
571 <default>0</default>
572 <comment>is partial payment enabled for this event</comment>
573 <add>4.3</add>
614d72ec 574 <html>
575 <type>CheckBox</type>
576 </html>
6a488035 577 </field>
3f3a3ba0 578 <field>
6a488035
TO
579 <name>initial_amount_label</name>
580 <title>Initial Amount Label</title>
581 <type>varchar</type>
3f3a3ba0 582 <length>255</length>
6a488035 583 <localizable>true</localizable>
3f3a3ba0
CW
584 <comment>Initial amount label for partial payment</comment>
585 <add>4.3</add>
614d72ec 586 <html>
587 <type>Text</type>
588 </html>
6a488035 589 </field>
3f3a3ba0 590 <field>
6a488035
TO
591 <name>initial_amount_help_text</name>
592 <title>Initial Amount Help Text</title>
593 <type>text</type>
594 <localizable>true</localizable>
3f3a3ba0
CW
595 <comment>Initial amount help text for partial payment</comment>
596 <add>4.3</add>
614d72ec 597 <html>
598 <type>Text</type>
599 </html>
6a488035 600 </field>
3f3a3ba0 601 <field>
6a488035
TO
602 <name>min_initial_amount</name>
603 <title>Minimum Initial Amount</title>
604 <type>decimal</type>
3f3a3ba0
CW
605 <comment>Minimum initial amount for partial payment</comment>
606 <add>4.3</add>
614d72ec 607 <html>
608 <type>Text</type>
609 </html>
6a488035 610 </field>
3f3a3ba0 611 <field>
6a488035
TO
612 <name>is_multiple_registrations</name>
613 <title>Allow Multiple Registrations</title>
614 <type>boolean</type>
615 <default>0</default>
3f3a3ba0
CW
616 <comment>if true - allows the user to register multiple participants for event</comment>
617 <add>2.1</add>
614d72ec 618 <html>
619 <type>CheckBox</type>
620 </html>
6a488035 621 </field>
f1bc01e0
J
622 <field>
623 <name>max_additional_participants</name>
624 <type>int unsigned</type>
625 <title>Maximum number of additional participants per registration</title>
626 <default>0</default>
627 <comment>Maximum number of additional participants that can be registered on a single booking</comment>
675cca92 628 <add>4.7</add>
f1bc01e0 629 </field>
3f3a3ba0
CW
630 <field>
631 <name>allow_same_participant_emails</name>
632 <type>boolean</type>
6a488035 633 <title>Does Event allow multiple registrations from same email address?</title>
3f3a3ba0
CW
634 <default>0</default>
635 <comment>if true - allows the user to register multiple registrations from same email address.</comment>
636 <add>2.2</add>
614d72ec 637 <html>
638 <type>CheckBox</type>
639 </html>
3f3a3ba0 640 </field>
6a488035
TO
641 <field>
642 <name>has_waitlist</name>
643 <title>Waitlist Enabled</title>
644 <type>boolean</type>
645 <comment>Whether the event has waitlist support.</comment>
646 <add>3.0</add>
614d72ec 647 <html>
648 <type>CheckBox</type>
649 </html>
6a488035
TO
650 </field>
651 <field>
652 <name>requires_approval</name>
653 <type>boolean</type>
654 <comment>Whether participants require approval before they can finish registering.</comment>
655 <add>3.0</add>
614d72ec 656 <html>
657 <type>CheckBox</type>
658 </html>
6a488035
TO
659 </field>
660 <field>
661 <name>expiration_time</name>
662 <type>int unsigned</type>
663 <comment>Expire pending but unconfirmed registrations after this many hours.</comment>
664 <add>3.0</add>
614d72ec 665 <html>
666 <type>Text</type>
667 </html>
6a488035 668 </field>
7dbb67ae
DG
669 <field>
670 <name>allow_selfcancelxfer</name>
671 <type>boolean</type>
672 <default>0</default>
673 <title>Allow Self-service Cancellation or Transfer</title>
674 <comment>Allow self service cancellation or transfer for event?</comment>
675 <add>4.7</add>
676 <html>
677 <type>CheckBox</type>
678 </html>
679 </field>
680 <field>
681 <name>selfcancelxfer_time</name>
682 <type>int unsigned</type>
683 <default>0</default>
684 <title>Self-service Cancellation or Transfer Time</title>
685 <comment>Number of hours prior to event start date to allow self-service cancellation or transfer.</comment>
686 <add>4.7</add>
687 <html>
688 <type>Text</type>
689 </html>
690 </field>
6a488035
TO
691 <field>
692 <name>waitlist_text</name>
693 <type>text</type>
7deea513 694 <html>
695 <type>TextArea</type>
817807ab 696 <rows>4</rows>
697 <cols>60</cols>
7deea513 698 </html>
6a488035
TO
699 <localizable>true</localizable>
700 <comment>Text to display when the event is full, but participants can signup for a waitlist.</comment>
701 <add>3.0</add>
702 </field>
703 <field>
704 <name>approval_req_text</name>
705 <type>text</type>
7deea513 706 <html>
707 <type>TextArea</type>
817807ab 708 <rows>4</rows>
709 <cols>60</cols>
7deea513 710 </html>
6a488035
TO
711 <localizable>true</localizable>
712 <comment>Text to display when the approval is required to complete registration for an event.</comment>
713 <add>3.0</add>
714 </field>
715 <field>
716 <name>is_template</name>
717 <title>Is an Event Template</title>
718 <type>boolean</type>
719 <default>0</default>
99f13d8d 720 <required>true</required>
6a488035
TO
721 <comment>whether the event has template</comment>
722 <add>3.0</add>
614d72ec 723 <html>
724 <type>CheckBox</type>
725 </html>
6a488035 726 </field>
3f3a3ba0
CW
727 <field>
728 <name>template_title</name>
6a488035 729 <uniqueName>template_title</uniqueName>
3f3a3ba0 730 <type>varchar</type>
6a488035
TO
731 <import>true</import>
732 <title>Event Template Title</title>
733 <headerPattern>/(template.)?title$/i</headerPattern>
3f3a3ba0 734 <length>255</length>
6a488035
TO
735 <localizable>true</localizable>
736 <comment>Event Template Title</comment>
614d72ec 737 <html>
738 <type>Text</type>
739 </html>
3f3a3ba0 740 <add>3.0</add>
6a488035
TO
741 </field>
742 <field>
743 <name>created_id</name>
744 <type>int unsigned</type>
745 <title>Created By Contact ID</title>
746 <comment>FK to civicrm_contact, who created this event</comment>
747 <add>3.0</add>
748 </field>
749 <foreignKey>
750 <name>created_id</name>
751 <table>civicrm_contact</table>
752 <key>id</key>
753 <add>3.0</add>
754 <onDelete>SET NULL</onDelete>
755 </foreignKey>
756 <field>
757 <name>created_date</name>
758 <type>datetime</type>
759 <title>Event Created Date</title>
760 <comment>Date and time that event was created.</comment>
761 <add>3.0</add>
762 </field>
3f3a3ba0
CW
763 <field>
764 <name>currency</name>
765 <type>varchar</type>
6a488035
TO
766 <length>3</length>
767 <import>true</import>
768 <headerPattern>/cur(rency)?/i</headerPattern>
769 <dataPattern>/^[A-Z]{3}$/i</dataPattern>
770 <comment>3 character string, value from config setting or input via user.</comment>
771 <add>3.3</add>
bd44e0df
AS
772 <pseudoconstant>
773 <table>civicrm_currency</table>
774 <keyColumn>name</keyColumn>
a38a89fc 775 <labelColumn>full_name</labelColumn>
c3de5c5a 776 <nameColumn>name</nameColumn>
a8fdb24e 777 <abbrColumn>symbol</abbrColumn>
bd44e0df 778 </pseudoconstant>
614d72ec 779 <html>
e0991796 780 <type>Select</type>
614d72ec 781 </html>
6a488035
TO
782 </field>
783 <field>
784 <name>campaign_id</name>
785 <type>int unsigned</type>
e1ab2e91 786 <title>Campaign</title>
6a488035 787 <comment>The campaign for which this event has been created.</comment>
3e3eacd0
CW
788 <pseudoconstant>
789 <table>civicrm_campaign</table>
790 <keyColumn>id</keyColumn>
791 <labelColumn>title</labelColumn>
3e3eacd0 792 </pseudoconstant>
3f3a3ba0 793 <add>3.4</add>
614d72ec 794 <html>
916b6181 795 <type>EntityRef</type>
614d72ec 796 </html>
6a488035
TO
797 </field>
798 <foreignKey>
799 <name>campaign_id</name>
800 <table>civicrm_campaign</table>
801 <key>id</key>
802 <onDelete>SET NULL</onDelete>
803 </foreignKey>
804 <field>
805 <name>is_share</name>
806 <title>Is shared through social media</title>
807 <type>boolean</type>
808 <default>1</default>
809 <comment>Can people share the event through social media?</comment>
3f3a3ba0 810 <add>4.1</add>
614d72ec 811 <html>
812 <type>CheckBox</type>
813 </html>
6a488035 814 </field>
1909126f 815 <field>
816 <name>is_confirm_enabled</name>
817 <title>Is the booking confirmation screen enabled?</title>
818 <type>boolean</type>
819 <default>1</default>
820 <comment>If false, the event booking confirmation screen gets skipped</comment>
821 <add>4.5</add>
822 <html>
823 <type>CheckBox</type>
824 </html>
825 </field>
6a488035
TO
826 <field>
827 <name>parent_event_id</name>
828 <type>int unsigned</type>
829 <title>Parent Event ID</title>
830 <default>NULL</default>
831 <comment>Implicit FK to civicrm_event: parent event</comment>
614d72ec 832 <html>
916b6181 833 <type>EntityRef</type>
614d72ec 834 </html>
6a488035
TO
835 <add>4.1</add>
836 </field>
837 <index>
838 <name>index_parent_event_id</name>
839 <fieldName>parent_event_id</fieldName>
840 <add>4.1</add>
841 </index>
842 <field>
843 <name>slot_label_id</name>
3f3a3ba0
CW
844 <type>int unsigned</type>
845 <title>Subevent Slot Label ID</title>
6a488035 846 <default>NULL</default>
3f3a3ba0 847 <comment>Subevent slot label. Implicit FK to civicrm_option_value where option_group = conference_slot.</comment>
6a488035 848 <add>4.1</add>
614d72ec 849 <html>
850 <type>Select</type>
851 </html>
6a488035 852 </field>
03390e26 853 <field>
854 <name>dedupe_rule_group_id</name>
855 <type>int unsigned</type>
856 <title>Dedupe Rule</title>
857 <default>NULL</default>
858 <comment>Rule to use when matching registrations for this event</comment>
859 <pseudoconstant>
860 <table>civicrm_dedupe_rule_group</table>
861 <keyColumn>id</keyColumn>
862 <nameColumn>name</nameColumn>
863 <labelColumn>title</labelColumn>
864 </pseudoconstant>
865 <add>4.5</add>
866 <html>
867 <type>Select</type>
868 </html>
869 </field>
870 <foreignKey>
871 <name>dedupe_rule_group_id</name>
872 <table>civicrm_dedupe_rule_group</table>
873 <key>id</key>
874 <add>4.5</add>
875 </foreignKey>
e45f6ab0
PB
876 <field>
877 <name>is_billing_required</name>
115fa278 878 <title>Is billing block required</title>
e45f6ab0
PB
879 <type>boolean</type>
880 <default>0</default>
115fa278 881 <comment>if true than billing block is required this event</comment>
882 <add>4.6</add>
e45f6ab0
PB
883 <html>
884 <type>CheckBox</type>
885 </html>
886 </field>
6a488035 887</table>