Merge pull request #22048 from demeritcowboy/session-status
[civicrm-core.git] / xml / schema / Core / Dashboard.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
86d3bfa9
EM
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>
56b7523d 12 <title>DashletID</title>
86d3bfa9 13 <required>true</required>
0481e12c
A
14 <html>
15 <type>Number</type>
16 </html>
6a488035 17 <add>3.1</add>
86d3bfa9
EM
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>domain_id</name>
25 <type>int unsigned</type>
047c5009 26 <title>Domain ID</title>
86d3bfa9
EM
27 <required>true</required>
28 <pseudoconstant>
29 <table>civicrm_domain</table>
30 <keyColumn>id</keyColumn>
31 <labelColumn>name</labelColumn>
32 </pseudoconstant>
33 <comment>Domain for dashboard</comment>
57e94608 34 <html>
047c5009 35 <label>Domain</label>
57e94608 36 </html>
86d3bfa9
EM
37 <add>3.1</add>
38 </field>
39 <foreignKey>
40 <name>domain_id</name>
41 <table>civicrm_domain</table>
42 <key>id</key>
43 <add>3.1</add>
1494e986 44 <onDelete>CASCADE</onDelete>
86d3bfa9
EM
45 </foreignKey>
46 <field>
47 <name>name</name>
48 <type>varchar</type>
49 <title>Dashlet Name</title>
50 <length>64</length>
51 <comment>Internal name of dashlet.</comment>
52 <add>4.4</add>
53 </field>
54 <field>
55 <name>label</name>
56 <type>varchar</type>
56b7523d 57 <title>Dashlet Title</title>
86d3bfa9
EM
58 <length>255</length>
59 <comment>dashlet title</comment>
60 <localizable>true</localizable>
61 <add>3.1</add>
62 </field>
63 <field>
64 <name>url</name>
65 <type>varchar</type>
56b7523d 66 <title>Dashlet URL</title>
86d3bfa9
EM
67 <length>255</length>
68 <comment>url in case of external dashlet</comment>
69 <add>3.1</add>
70 </field>
86d3bfa9
EM
71 <field>
72 <name>permission</name>
73 <type>varchar</type>
56b7523d 74 <title>Dashlet Permission</title>
86d3bfa9
EM
75 <length>255</length>
76 <comment>Permission for the dashlet</comment>
77 <add>3.1</add>
7a19c557 78 <serialize>COMMA</serialize>
86d3bfa9
EM
79 </field>
80 <field>
81 <name>permission_operator</name>
82 <type>varchar</type>
56b7523d 83 <title>Dashlet Permission Operator</title>
86d3bfa9
EM
84 <length>3</length>
85 <comment>Permission Operator</comment>
86 <add>3.1</add>
87 </field>
88 <field>
89 <name>column_no</name>
90 <type>boolean</type>
56b7523d 91 <title>Dashlet Column</title>
86d3bfa9
EM
92 <comment>column no for this dashlet</comment>
93 <default>0</default>
94 <add>3.1</add>
242055d3 95 <drop>4.7</drop>
86d3bfa9
EM
96 </field>
97 <field>
98 <name>is_minimized</name>
99 <type>boolean</type>
56b7523d 100 <title>Minimize Dashlet?</title>
86d3bfa9
EM
101 <comment>Is Minimized?</comment>
102 <default>0</default>
103 <add>3.1</add>
242055d3 104 <drop>4.7</drop>
86d3bfa9
EM
105 </field>
106 <field>
107 <name>fullscreen_url</name>
108 <type>varchar</type>
56b7523d 109 <title>Fullscreen URL</title>
86d3bfa9
EM
110 <length>255</length>
111 <comment>fullscreen url for dashlet</comment>
112 <add>3.4</add>
113 </field>
114 <field>
115 <name>is_fullscreen</name>
116 <type>boolean</type>
56b7523d 117 <title>Is Fullscreen?</title>
86d3bfa9
EM
118 <comment>Is Fullscreen?</comment>
119 <default>1</default>
120 <add>3.1</add>
242055d3 121 <drop>4.7</drop>
86d3bfa9
EM
122 </field>
123 <field>
124 <name>is_active</name>
125 <type>boolean</type>
56b7523d 126 <title>Is Dashlet Active?</title>
86d3bfa9
EM
127 <comment>Is this dashlet active?</comment>
128 <default>0</default>
129 <add>3.1</add>
130 </field>
131 <field>
132 <name>is_reserved</name>
133 <type>boolean</type>
56b7523d 134 <title>Is Dashlet Reserved?</title>
86d3bfa9
EM
135 <comment>Is this dashlet reserved?</comment>
136 <default>0</default>
137 <add>3.1</add>
138 </field>
139 <field>
140 <name>weight</name>
141 <type>int</type>
7ecddde4 142 <title>Order</title>
86d3bfa9
EM
143 <comment>Ordering of the dashlets.</comment>
144 <default>0</default>
145 <add>3.1</add>
242055d3 146 <drop>4.7</drop>
86d3bfa9 147 </field>
a8f56d71
CW
148 <field>
149 <name>cache_minutes</name>
150 <type>int unsigned</type>
151 <title>Cache Minutes</title>
152 <comment>Number of minutes to cache dashlet content in browser localStorage.</comment>
153 <default>60</default>
154 <required>true</required>
155 <add>4.7</add>
156 </field>
f263929f
CW
157 <field>
158 <name>directive</name>
159 <type>varchar</type>
160 <title>Angular directive</title>
161 <length>255</length>
162 <comment>Element name of angular directive to invoke (lowercase hyphenated format)</comment>
163 <add>5.33</add>
164 </field>
6a488035 165</table>