<log>true</log>
<field>
<name>id</name>
+ <title>Case Activity ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique case-activity association id</comment>
</primaryKey>
<field>
<name>case_id</name>
+ <title>Case</title>
<type>int unsigned</type>
<required>true</required>
<comment>Case ID of case-activity association.</comment>
</foreignKey>
<field>
<name>activity_id</name>
+ <title>Activity ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Activity ID of case-activity association.</comment>
<fieldName>activity_id</fieldName>
<add>2.0</add>
</index>
-
- <field>
+ <field>
<name>activity_entity_table</name>
<type>varchar</type>
<length>64</length>
</field>
<field>
- <name>activity_entity_id</name>
+ <name>activity_entity_id</name>
<type>int unsigned</type>
<required>true</required>
<comment>Entity (activity, phonecall or meeting) id for which the assigment is created</comment>
<add>1.8</add>
- <drop>2.0</drop>
+ <drop>2.0</drop>
</field>
+ <dynamicForeignKey>
+ <idColumn>activity_entity_id</idColumn>
+ <typeColumn>activity_entity_table</typeColumn>
+ <add>1.8</add>
+ <drop>2.0</drop>
+ </dynamicForeignKey>
</table>