Commit | Line | Data |
---|---|---|
09e22d82 J |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>StatusPreference</class> | |
6 | <name>civicrm_status_pref</name> | |
7 | <comment>Preferences controlling status checks called in system.check.</comment> | |
8 | <add>4.7</add> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <title>Status Preference ID</title> | |
13 | <required>true</required> | |
14 | <comment>Unique Status Preference ID</comment> | |
0481e12c A |
15 | <html> |
16 | <type>Number</type> | |
17 | </html> | |
09e22d82 J |
18 | <add>4.7</add> |
19 | </field> | |
20 | <primaryKey> | |
21 | <name>id</name> | |
22 | <autoincrement>true</autoincrement> | |
23 | </primaryKey> | |
24 | <field> | |
25 | <name>domain_id</name> | |
047c5009 | 26 | <title>Domain ID</title> |
09e22d82 J |
27 | <type>int unsigned</type> |
28 | <required>true</required> | |
29 | <pseudoconstant> | |
30 | <table>civicrm_domain</table> | |
31 | <keyColumn>id</keyColumn> | |
32 | <labelColumn>name</labelColumn> | |
33 | </pseudoconstant> | |
34 | <comment>Which Domain is this Status Preference for</comment> | |
57e94608 | 35 | <html> |
047c5009 | 36 | <label>Domain</label> |
57e94608 | 37 | </html> |
09e22d82 J |
38 | <add>4.7</add> |
39 | </field> | |
40 | <foreignKey> | |
41 | <name>domain_id</name> | |
42 | <table>civicrm_domain</table> | |
43 | <key>id</key> | |
44 | <add>4.7</add> | |
45 | </foreignKey> | |
46 | <field> | |
47 | <name>name</name> | |
44444a1d J |
48 | <title>Status Check Name</title> |
49 | <type>varchar</type> | |
50 | <length>255</length> | |
09e22d82 | 51 | <import>true</import> |
44444a1d J |
52 | <required>true</required> |
53 | <comment>Name of the status check this preference references.</comment> | |
09e22d82 J |
54 | <add>4.7</add> |
55 | </field> | |
56 | <index> | |
57 | <name>UI_status_pref_name</name> | |
58 | <fieldName>name</fieldName> | |
09e22d82 J |
59 | <add>4.7</add> |
60 | </index> | |
61 | <field> | |
62 | <name>hush_until</name> | |
7c6fb573 | 63 | <title>Snooze Status Notifications Until</title> |
09e22d82 J |
64 | <type>date</type> |
65 | <import>true</import> | |
c217ecd5 | 66 | <comment>expires ignore_severity. NULL never hushes.</comment> |
09e22d82 J |
67 | <default>NULL</default> |
68 | <add>4.7</add> | |
69 | </field> | |
70 | <field> | |
c217ecd5 J |
71 | <name>ignore_severity</name> |
72 | <title>Ignore Severity</title> | |
09e22d82 J |
73 | <type>int unsigned</type> |
74 | <import>true</import> | |
c217ecd5 | 75 | <comment>Hush messages up to and including this severity.</comment> |
6776f595 | 76 | <default>1</default> |
09e22d82 | 77 | <add>4.7</add> |
0e1b333f CW |
78 | <pseudoconstant> |
79 | <callback>CRM_Utils_Check::getSeverityList</callback> | |
80 | </pseudoconstant> | |
09e22d82 J |
81 | </field> |
82 | <field> | |
83 | <name>prefs</name> | |
84 | <title>Status Preferences</title> | |
85 | <type>varchar</type> | |
86 | <length>255</length> | |
87 | <comment>These settings are per-check, and can't be compared across checks.</comment> | |
88 | <add>4.7</add> | |
89 | </field> | |
91b3fb3f J |
90 | <field> |
91 | <name>check_info</name> | |
92 | <title>Check Info</title> | |
93 | <type>varchar</type> | |
94 | <length>255</length> | |
95 | <comment>These values are per-check, and can't be compared across checks.</comment> | |
96 | <add>4.7</add> | |
97 | </field> | |
ef91b100 | 98 | <field> |
99 | <name>is_active</name> | |
100 | <title>Check Is Active</title> | |
101 | <type>boolean</type> | |
102 | <default>1</default> | |
103 | <comment>Is this status check active?</comment> | |
104 | <add>5.19</add> | |
105 | </field> | |
09e22d82 | 106 | </table> |