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>
20 <autoincrement>true
</autoincrement>
23 <name>activity_id
</name>
24 <type>int unsigned
</type>
25 <title>Activity ID
</title>
26 <required>true
</required>
27 <comment>Foreign key to the activity for this record.
</comment>
31 <name>activity_id
</name>
32 <table>civicrm_activity
</table>
35 <onDelete>CASCADE
</onDelete>
38 <name>contact_id
</name>
39 <title>Contact ID (match to contact)
</title>
41 <type>int unsigned
</type>
42 <required>true
</required>
43 <comment>Foreign key to the contact for this record.
</comment>
47 <name>contact_id
</name>
48 <table>civicrm_contact
</table>
51 <onDelete>CASCADE
</onDelete>
54 <name>record_type_id
</name>
55 <type>int unsigned
</type>
56 <title>Record Type ID
</title>
57 <comment>Nature of this contact's role in the activity:
1 assignee,
2 creator,
3 focus or target.
</comment>
59 <optionGroupName>activity_contacts
</optionGroupName>
67 <name>UI_activity_contact
</name>
68 <fieldName>contact_id
</fieldName>
69 <fieldName>activity_id
</fieldName>
70 <fieldName>record_type_id
</fieldName>
75 <name>index_record_type
</name>
76 <fieldName>activity_id
</fieldName>
77 <fieldName>record_type_id
</fieldName>