1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>EntityBatch
</class>
6 <name>civicrm_entity_batch
</name>
7 <comment>Batch entities (Contributions, Participants, Contacts) to a batch.
</comment>
10 <type>int unsigned
</type>
11 <required>true
</required>
12 <comment>primary key
</comment>
17 <autoincrement>true
</autoincrement>
20 <name>entity_table
</name>
23 <comment>physical tablename for entity being joined to file, e.g. civicrm_contact
</comment>
27 <name>entity_id
</name>
28 <type>int unsigned
</type>
29 <required>true
</required>
30 <comment>FK to entity table specified in entity_table column.
</comment>
34 <idColumn>entity_id
</idColumn>
35 <typeColumn>entity_table
</typeColumn>
39 <name>index_entity
</name>
40 <fieldName>entity_table
</fieldName>
41 <fieldName>entity_id
</fieldName>
46 <type>int unsigned
</type>
47 <required>true
</required>
48 <comment>FK to civicrm_batch
</comment>
53 <table>civicrm_batch
</table>
56 <onDelete>CASCADE
</onDelete>
59 <name>UI_batch_entity
</name>
60 <fieldName>batch_id
</fieldName>
61 <fieldName>entity_id
</fieldName>
62 <fieldName>entity_table
</fieldName>