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