1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
5 <class>EntityRole
</class>
6 <name>civicrm_acl_entity_role
</name>
7 <comment>Join table for Contacts and Groups to ACL Roles
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>Unique table ID
</comment>
18 <autoincrement>true
</autoincrement>
21 <name>acl_role_id
</name>
22 <type>int unsigned
</type>
23 <required>true
</required>
24 <comment>Foreign Key to ACL Role (which is an option value pair and hence an implicit FK)
</comment>
28 <name>entity_table
</name>
31 <required>true
</required>
32 <comment>Table of the object joined to the ACL Role (Contact or Group)
</comment>
36 <name>entity_id
</name>
37 <type>int unsigned
</type>
38 <required>true
</required>
39 <comment>ID of the group/contact object being joined
</comment>
43 <idColumn>entity_id
</idColumn>
44 <typeColumn>entity_table
</typeColumn>
48 <name>is_active
</name>
50 <comment>Is this property active?
</comment>
54 <name>index_role
</name>
55 <fieldName>acl_role_id
</fieldName>
59 <name>index_entity
</name>
60 <fieldName>entity_table
</fieldName>
61 <fieldName>entity_id
</fieldName>