1 <?xml version=
"1.0" encoding=
"utf-8" ?>
4 <class>CaseContact
</class>
5 <name>civicrm_case_contact
</name>
6 <comment>Joining table for case-contact associations.
</comment>
9 <component>CiviCase
</component>
12 <title>Case Contact ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Unique case-contact association id
</comment>
20 <autoincrement>true
</autoincrement>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>Case ID of case-contact association.
</comment>
32 <table>civicrm_case
</table>
35 <onDelete>CASCADE
</onDelete>
38 <name>contact_id
</name>
39 <title>Contact ID
</title>
40 <type>int unsigned
</type>
41 <required>true
</required>
42 <comment>Contact ID of contact record given case belongs to.
</comment>
44 <type>EntityRef
</type>
49 <name>contact_id
</name>
50 <table>civicrm_contact
</table>
53 <onDelete>CASCADE
</onDelete>
56 <name>UI_case_contact_id
</name>
57 <fieldName>case_id
</fieldName>
58 <fieldName>contact_id
</fieldName>