Add html tag to all files in xml/schema
[civicrm-core.git] / xml / schema / Contact / GroupNesting.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Contact</base>
5 <class>GroupNesting</class>
6 <name>civicrm_group_nesting</name>
7 <comment>Provide parent-child relationships for groups</comment>
8 <add>2.0</add>
9 <log>true</log>
10 <field>
11 <name>id</name>
12 <title>Group Nesting ID</title>
13 <type>int unsigned</type>
14 <required>true</required>
15 <comment>Relationship ID</comment>
16 <html>
17 <type>Number</type>
18 </html>
19 <add>2.0</add>
20 </field>
21 <primaryKey>
22 <name>id</name>
23 <autoincrement>true</autoincrement>
24 </primaryKey>
25 <field>
26 <name>child_group_id</name>
27 <title>Child Group</title>
28 <type>int unsigned</type>
29 <required>true</required>
30 <comment>ID of the child group</comment>
31 <add>2.0</add>
32 </field>
33 <foreignKey>
34 <name>child_group_id</name>
35 <table>civicrm_group</table>
36 <key>id</key>
37 <onDelete>CASCADE</onDelete>
38 <add>2.0</add>
39 </foreignKey>
40 <field>
41 <name>parent_group_id</name>
42 <title>Parent Group</title>
43 <type>int unsigned</type>
44 <required>true</required>
45 <comment>ID of the parent group</comment>
46 <add>2.0</add>
47 </field>
48 <foreignKey>
49 <name>parent_group_id</name>
50 <table>civicrm_group</table>
51 <key>id</key>
52 <onDelete>CASCADE</onDelete>
53 <add>2.0</add>
54 </foreignKey>
55 </table>