Merge pull request #15339 from seamuslee001/hook_before_boot
[civicrm-core.git] / xml / schema / Core / StatusPreference.xml
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>
42 <title>Status Check Name</title>
43 <type>varchar</type>
44 <length>255</length>
45 <import>true</import>
46 <required>true</required>
47 <comment>Name of the status check this preference references.</comment>
48 <add>4.7</add>
49 </field>
50 <index>
51 <name>UI_status_pref_name</name>
52 <fieldName>name</fieldName>
53 <add>4.7</add>
54 </index>
55 <field>
56 <name>hush_until</name>
57 <title>Snooze Status Notifications Until</title>
58 <type>date</type>
59 <import>true</import>
60 <comment>expires ignore_severity. NULL never hushes.</comment>
61 <default>NULL</default>
62 <add>4.7</add>
63 </field>
64 <field>
65 <name>ignore_severity</name>
66 <title>Ignore Severity</title>
67 <type>int unsigned</type>
68 <import>true</import>
69 <comment>Hush messages up to and including this severity.</comment>
70 <default>1</default>
71 <add>4.7</add>
72 <pseudoconstant>
73 <callback>CRM_Utils_Check::getSeverityList</callback>
74 </pseudoconstant>
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>
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>
92 <field>
93 <name>is_active</name>
94 <title>Check Is Active</title>
95 <type>boolean</type>
96 <default>1</default>
97 <comment>Is this status check active?</comment>
98 <add>5.19</add>
99 </field>
100 </table>