Merge pull request #22912 from eileenmcnaughton/group
[civicrm-core.git] / xml / schema / Contact / DashboardContact.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Contact</base>
5 <class>DashboardContact</class>
6 <name>civicrm_dashboard_contact</name>
7 <comment>Table to store dashboard for each contact.</comment>
8 <add>3.1</add>
9 <field>
8f069c03
EM
10 <name>id</name>
11 <type>int unsigned</type>
d92caa66 12 <title>Dashboard Contact ID</title>
8f069c03 13 <required>true</required>
0481e12c
A
14 <html>
15 <type>Number</type>
16 </html>
8f069c03 17 <add>3.1</add>
6a488035
TO
18 </field>
19 <primaryKey>
8f069c03
EM
20 <name>id</name>
21 <autoincrement>true</autoincrement>
6a488035
TO
22 </primaryKey>
23 <field>
8f069c03
EM
24 <name>dashboard_id</name>
25 <type>int unsigned</type>
57e94608 26 <title>Dashboard ID</title>
8f069c03
EM
27 <required>true</required>
28 <comment>Dashboard ID</comment>
57e94608
A
29 <html>
30 <label>Dashboard</label>
31 </html>
8f069c03 32 <add>3.1</add>
6a488035
TO
33 </field>
34 <foreignKey>
8f069c03
EM
35 <name>dashboard_id</name>
36 <table>civicrm_dashboard</table>
37 <key>id</key>
38 <onDelete>CASCADE</onDelete>
39 <add>3.1</add>
6a488035
TO
40 </foreignKey>
41 <field>
8f069c03
EM
42 <name>contact_id</name>
43 <type>int unsigned</type>
047c5009 44 <title>Contact ID</title>
8f069c03
EM
45 <required>true</required>
46 <comment>Contact ID</comment>
57e94608 47 <html>
047c5009 48 <label>Contact</label>
57e94608 49 </html>
8f069c03 50 <add>3.1</add>
6a488035
TO
51 </field>
52 <foreignKey>
8f069c03
EM
53 <name>contact_id</name>
54 <table>civicrm_contact</table>
55 <key>id</key>
56 <onDelete>CASCADE</onDelete>
57 <add>3.1</add>
6a488035 58 </foreignKey>
00c27b41
CW
59 <index>
60 <name>index_dashboard_id_contact_id</name>
61 <fieldName>dashboard_id</fieldName>
62 <fieldName>contact_id</fieldName>
63 <unique>true</unique>
64 <add>4.7</add>
65 </index>
6a488035 66 <field>
8f069c03 67 <name>column_no</name>
756d2540 68 <type>int</type>
8f069c03
EM
69 <comment>column no for this widget</comment>
70 <default>0</default>
1662d426
A
71 <html>
72 <label>Column Number</label>
73 </html>
8f069c03 74 <add>3.1</add>
6a488035
TO
75 </field>
76 <field>
8f069c03
EM
77 <name>is_minimized</name>
78 <type>boolean</type>
d92caa66 79 <title>Dashlet is Minimized?</title>
8f069c03
EM
80 <comment>Is Minimized?</comment>
81 <default>0</default>
82 <add>3.1</add>
242055d3 83 <drop>4.7</drop>
6a488035
TO
84 </field>
85 <field>
8f069c03
EM
86 <name>is_fullscreen</name>
87 <type>boolean</type>
d92caa66 88 <title>Dashlet is FullScreen?</title>
8f069c03
EM
89 <comment>Is Fullscreen?</comment>
90 <default>1</default>
91 <add>3.1</add>
242055d3 92 <drop>4.7</drop>
6a488035
TO
93 </field>
94 <field>
8f069c03
EM
95 <name>is_active</name>
96 <type>boolean</type>
d92caa66 97 <title>Dashlet is Active?</title>
8f069c03
EM
98 <comment>Is this widget active?</comment>
99 <default>0</default>
100 <add>3.1</add>
6a488035
TO
101 </field>
102 <field>
103 <name>weight</name>
7ecddde4 104 <title>Order</title>
6a488035
TO
105 <type>int</type>
106 <comment>Ordering of the widgets.</comment>
107 <default>0</default>
108 <add>3.1</add>
109 </field>
110 <field>
8f069c03
EM
111 <name>content</name>
112 <type>longtext</type>
113 <comment>dashlet content</comment>
1662d426
A
114 <html>
115 <label>Content</label>
116 </html>
8f069c03 117 <add>3.3</add>
242055d3 118 <drop>4.7</drop>
6a488035
TO
119 </field>
120 <field>
8f069c03
EM
121 <name>created_date</name>
122 <type>datetime</type>
d92caa66 123 <title>Dashlet Created On</title>
8f069c03
EM
124 <comment>When was content populated</comment>
125 <add>3.3</add>
242055d3 126 <drop>4.7</drop>
6a488035
TO
127 </field>
128</table>