1 <?xml version=
"1.0" encoding=
"utf-8" ?>
3 <base>CRM/Activity
</base>
4 <class>ActivityContact
</class>
5 <name>civicrm_activity_contact
</name>
6 <comment>Activity Contact
</comment>
7 <archive>true
</archive>
12 <type>int unsigned
</type>
13 <title>Activity Contact ID
</title>
14 <required>true
</required>
15 <comment>Activity contact id
</comment>
23 <autoincrement>true
</autoincrement>
26 <name>activity_id
</name>
27 <type>int unsigned
</type>
28 <title>Activity ID
</title>
29 <required>true
</required>
30 <comment>Foreign key to the activity for this record.
</comment>
32 <label>Activity
</label>
37 <name>activity_id
</name>
38 <table>civicrm_activity
</table>
41 <onDelete>CASCADE
</onDelete>
44 <name>contact_id
</name>
45 <title>Contact ID
</title>
47 <type>int unsigned
</type>
48 <required>true
</required>
49 <comment>Foreign key to the contact for this record.
</comment>
51 <label>Contact
</label>
56 <name>contact_id
</name>
57 <table>civicrm_contact
</table>
60 <onDelete>CASCADE
</onDelete>
63 <name>record_type_id
</name>
64 <type>int unsigned
</type>
65 <title>Activity Contact Type
</title>
66 <comment>Determines the contact's role in the activity (source, target, or assignee).
</comment>
68 <optionGroupName>activity_contacts
</optionGroupName>
72 <label>Contact Role
</label>
77 <name>UI_activity_contact
</name>
78 <fieldName>contact_id
</fieldName>
79 <fieldName>activity_id
</fieldName>
80 <fieldName>record_type_id
</fieldName>
85 <name>index_record_type
</name>
86 <fieldName>activity_id
</fieldName>
87 <fieldName>record_type_id
</fieldName>