CRM-14955 - add custom tokens to greetings
[civicrm-core.git] / xml / schema / Core / Navigation.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>Navigation</class>
6 <name>civicrm_navigation</name>
7 <comment>Table to store navigation.</comment>
8 <add>3.0</add>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <add>3.0</add>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
20 <name>domain_id</name>
21 <type>int unsigned</type>
22 <required>true</required>
23 <comment>Which Domain is this navigation item for</comment>
24 <add>3.0</add>
25 </field>
26 <foreignKey>
27 <name>domain_id</name>
28 <table>civicrm_domain</table>
29 <key>id</key>
30 <add>3.0</add>
31 </foreignKey>
32 <field>
33 <name>label</name>
34 <type>varchar</type>
35 <length>255</length>
36 <comment>Navigation Title</comment>
37 <add>3.0</add>
38 </field>
39 <field>
40 <name>name</name>
41 <type>varchar</type>
42 <length>255</length>
43 <comment>Internal Name</comment>
44 <add>3.0</add>
45 </field>
46 <field>
47 <name>url</name>
48 <type>varchar</type>
49 <length>255</length>
50 <comment>url in case of custom navigation link</comment>
51 <add>3.0</add>
52 </field>
53 <field>
54 <name>permission</name>
55 <type>varchar</type>
56 <length>255</length>
57 <comment>Permission for menu item</comment>
58 <add>3.0</add>
59 </field>
60 <field>
61 <name>permission_operator</name>
62 <type>varchar</type>
63 <length>3</length>
64 <comment>Permission Operator</comment>
65 <add>3.0</add>
66 </field>
67 <field>
68 <name>parent_id</name>
69 <type>int unsigned</type>
70 <comment>Parent navigation item, used for grouping</comment>
71 <add>3.0</add>
72 </field>
73 <foreignKey>
74 <name>parent_id</name>
75 <table>civicrm_navigation</table>
76 <key>id</key>
77 <onDelete>CASCADE</onDelete>
78 <add>3.0</add>
79 </foreignKey>
80 <field>
81 <name>is_active</name>
82 <type>boolean</type>
83 <comment>Is this navigation item active?</comment>
84 <add>3.0</add>
85 </field>
86 <field>
87 <name>has_separator</name>
88 <type>boolean</type>
89 <comment>If separator needs to be added after this menu item</comment>
90 <add>3.0</add>
91 </field>
92 <field>
93 <name>weight</name>
94 <type>int</type>
95 <comment>Ordering of the navigation items in various blocks.</comment>
96 <add>3.0</add>
97 </field>
98</table>