1 <?xml version=
"1.0" encoding=
"utf-8" ?>
4 <class>CaseActivity
</class>
5 <name>civicrm_case_activity
</name>
6 <comment>Joining table for case-activity associations.
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Unique case-activity association id
</comment>
18 <autoincrement>true
</autoincrement>
22 <type>int unsigned
</type>
23 <required>true
</required>
24 <comment>Case ID of case-activity association.
</comment>
29 <table>civicrm_case
</table>
32 <onDelete>CASCADE
</onDelete>
35 <name>activity_id
</name>
36 <type>int unsigned
</type>
37 <required>true
</required>
38 <comment>Activity ID of case-activity association.
</comment>
42 <name>activity_id
</name>
43 <table>civicrm_activity
</table>
46 <onDelete>CASCADE
</onDelete>
49 <name>UI_case_activity_id
</name>
50 <fieldName>case_id
</fieldName>
51 <fieldName>activity_id
</fieldName>
57 <name>activity_entity_table
</name>
60 <required>true
</required>
61 <comment>Name of table where item being referenced is stored (activity, phonecall or meeting).
</comment>
67 <name>activity_entity_id
</name>
68 <type>int unsigned
</type>
69 <required>true
</required>
70 <comment>Entity (activity, phonecall or meeting) id for which the assigment is created
</comment>