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>
23 <autoincrement>true
</autoincrement>
28 <type>int unsigned
</type>
29 <required>true
</required>
30 <comment>Case ID of case-contact association.
</comment>
35 <table>civicrm_case
</table>
38 <onDelete>CASCADE
</onDelete>
41 <name>contact_id
</name>
42 <title>Contact ID
</title>
43 <type>int unsigned
</type>
44 <required>true
</required>
45 <comment>Contact ID of contact record given case belongs to.
</comment>
47 <type>EntityRef
</type>
52 <name>contact_id
</name>
53 <table>civicrm_contact
</table>
56 <onDelete>CASCADE
</onDelete>
59 <name>UI_case_contact_id
</name>
60 <fieldName>case_id
</fieldName>
61 <fieldName>contact_id
</fieldName>