1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>GroupNesting
</class>
6 <name>civicrm_group_nesting
</name>
7 <comment>Provide parent-child relationships for groups
</comment>
12 <title>Group Nesting ID
</title>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Relationship ID
</comment>
20 <autoincrement>true
</autoincrement>
23 <name>child_group_id
</name>
24 <title>Child Group
</title>
25 <type>int unsigned
</type>
26 <required>true
</required>
27 <comment>ID of the child group
</comment>
31 <name>child_group_id
</name>
32 <table>civicrm_group
</table>
34 <onDelete>CASCADE
</onDelete>
38 <name>parent_group_id
</name>
39 <title>Parent Group
</title>
40 <type>int unsigned
</type>
41 <required>true
</required>
42 <comment>ID of the parent group
</comment>
46 <name>parent_group_id
</name>
47 <table>civicrm_group
</table>
49 <onDelete>CASCADE
</onDelete>