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