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> | |
15 | <add>4.7</add> | |
16 | </field> | |
17 | <primaryKey> | |
18 | <name>id</name> | |
19 | <autoincrement>true</autoincrement> | |
20 | </primaryKey> | |
21 | <field> | |
22 | <name>domain_id</name> | |
23 | <title>Setting Domain</title> | |
24 | <type>int unsigned</type> | |
25 | <required>true</required> | |
26 | <pseudoconstant> | |
27 | <table>civicrm_domain</table> | |
28 | <keyColumn>id</keyColumn> | |
29 | <labelColumn>name</labelColumn> | |
30 | </pseudoconstant> | |
31 | <comment>Which Domain is this Status Preference for</comment> | |
32 | <add>4.7</add> | |
33 | </field> | |
34 | <foreignKey> | |
35 | <name>domain_id</name> | |
36 | <table>civicrm_domain</table> | |
37 | <key>id</key> | |
38 | <add>4.7</add> | |
39 | </foreignKey> | |
40 | <field> | |
41 | <name>name</name> | |
44444a1d J |
42 | <title>Status Check Name</title> |
43 | <type>varchar</type> | |
44 | <length>255</length> | |
09e22d82 | 45 | <import>true</import> |
44444a1d J |
46 | <required>true</required> |
47 | <comment>Name of the status check this preference references.</comment> | |
09e22d82 J |
48 | <add>4.7</add> |
49 | </field> | |
50 | <index> | |
51 | <name>UI_status_pref_name</name> | |
52 | <fieldName>name</fieldName> | |
09e22d82 J |
53 | <add>4.7</add> |
54 | </index> | |
55 | <field> | |
56 | <name>hush_until</name> | |
7c6fb573 | 57 | <title>Snooze Status Notifications Until</title> |
09e22d82 J |
58 | <type>date</type> |
59 | <import>true</import> | |
c217ecd5 | 60 | <comment>expires ignore_severity. NULL never hushes.</comment> |
09e22d82 J |
61 | <default>NULL</default> |
62 | <add>4.7</add> | |
63 | </field> | |
64 | <field> | |
c217ecd5 J |
65 | <name>ignore_severity</name> |
66 | <title>Ignore Severity</title> | |
09e22d82 J |
67 | <type>int unsigned</type> |
68 | <import>true</import> | |
c217ecd5 | 69 | <comment>Hush messages up to and including this severity.</comment> |
6776f595 | 70 | <default>1</default> |
09e22d82 | 71 | <add>4.7</add> |
0e1b333f CW |
72 | <pseudoconstant> |
73 | <callback>CRM_Utils_Check::getSeverityList</callback> | |
74 | </pseudoconstant> | |
09e22d82 J |
75 | </field> |
76 | <field> | |
77 | <name>prefs</name> | |
78 | <title>Status Preferences</title> | |
79 | <type>varchar</type> | |
80 | <length>255</length> | |
81 | <comment>These settings are per-check, and can't be compared across checks.</comment> | |
82 | <add>4.7</add> | |
83 | </field> | |
91b3fb3f J |
84 | <field> |
85 | <name>check_info</name> | |
86 | <title>Check Info</title> | |
87 | <type>varchar</type> | |
88 | <length>255</length> | |
89 | <comment>These values are per-check, and can't be compared across checks.</comment> | |
90 | <add>4.7</add> | |
91 | </field> | |
09e22d82 | 92 | </table> |