CRM-17663 - Implement localStorage cache
[civicrm-core.git] / xml / schema / Core / Dashboard.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>Dashboard</class>
6 <name>civicrm_dashboard</name>
7 <comment>Table to store dashboard.</comment>
8 <add>3.1</add>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <title>DashletID</title>
13 <required>true</required>
14 <add>3.1</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>domain_id</name>
22 <type>int unsigned</type>
23 <title>Dashlet Domain</title>
24 <required>true</required>
25 <pseudoconstant>
26 <table>civicrm_domain</table>
27 <keyColumn>id</keyColumn>
28 <labelColumn>name</labelColumn>
29 </pseudoconstant>
30 <comment>Domain for dashboard</comment>
31 <add>3.1</add>
32 </field>
33 <foreignKey>
34 <name>domain_id</name>
35 <table>civicrm_domain</table>
36 <key>id</key>
37 <add>3.1</add>
38 </foreignKey>
39 <field>
40 <name>name</name>
41 <type>varchar</type>
42 <title>Dashlet Name</title>
43 <length>64</length>
44 <comment>Internal name of dashlet.</comment>
45 <add>4.4</add>
46 </field>
47 <field>
48 <name>label</name>
49 <type>varchar</type>
50 <title>Dashlet Title</title>
51 <length>255</length>
52 <comment>dashlet title</comment>
53 <localizable>true</localizable>
54 <add>3.1</add>
55 </field>
56 <field>
57 <name>url</name>
58 <type>varchar</type>
59 <title>Dashlet URL</title>
60 <length>255</length>
61 <comment>url in case of external dashlet</comment>
62 <add>3.1</add>
63 </field>
64 <field>
65 <name>content</name>
66 <type>text</type>
67 <comment>dashlet content</comment>
68 <add>3.1</add>
69 <drop>3.3</drop>
70 </field>
71 <field>
72 <name>permission</name>
73 <type>varchar</type>
74 <title>Dashlet Permission</title>
75 <length>255</length>
76 <comment>Permission for the dashlet</comment>
77 <add>3.1</add>
78 </field>
79 <field>
80 <name>permission_operator</name>
81 <type>varchar</type>
82 <title>Dashlet Permission Operator</title>
83 <length>3</length>
84 <comment>Permission Operator</comment>
85 <add>3.1</add>
86 </field>
87 <field>
88 <name>column_no</name>
89 <type>boolean</type>
90 <title>Dashlet Column</title>
91 <comment>column no for this dashlet</comment>
92 <default>0</default>
93 <add>3.1</add>
94 </field>
95 <field>
96 <name>is_minimized</name>
97 <type>boolean</type>
98 <title>Minimize Dashlet?</title>
99 <comment>Is Minimized?</comment>
100 <default>0</default>
101 <add>3.1</add>
102 </field>
103 <field>
104 <name>fullscreen_url</name>
105 <type>varchar</type>
106 <title>Fullscreen URL</title>
107 <length>255</length>
108 <comment>fullscreen url for dashlet</comment>
109 <add>3.4</add>
110 </field>
111 <field>
112 <name>is_fullscreen</name>
113 <type>boolean</type>
114 <title>Is Fullscreen?</title>
115 <comment>Is Fullscreen?</comment>
116 <default>1</default>
117 <add>3.1</add>
118 </field>
119 <field>
120 <name>is_active</name>
121 <type>boolean</type>
122 <title>Is Dashlet Active?</title>
123 <comment>Is this dashlet active?</comment>
124 <default>0</default>
125 <add>3.1</add>
126 </field>
127 <field>
128 <name>is_reserved</name>
129 <type>boolean</type>
130 <title>Is Dashlet Reserved?</title>
131 <comment>Is this dashlet reserved?</comment>
132 <default>0</default>
133 <add>3.1</add>
134 </field>
135 <field>
136 <name>weight</name>
137 <type>int</type>
138 <title>Order</title>
139 <comment>Ordering of the dashlets.</comment>
140 <default>0</default>
141 <add>3.1</add>
142 </field>
143 <field>
144 <name>created_date</name>
145 <type>datetime</type>
146 <title>Dashlet Created Date</title>
147 <comment>When was content populated</comment>
148 <add>3.1</add>
149 <drop>3.3</drop>
150 </field>
151 </table>