Merge pull request #6457 from GinkgoFJG/angular_snippets
[civicrm-core.git] / xml / schema / Core / StatusPreference.xml
index 89ffc98a1912c2cb636475a0f647fd79ee29f4e1..84f26f519a928a149984f86325a3c48c04e3c7cd 100644 (file)
   </foreignKey>
   <field>
     <name>name</name>
-    <title>Status Preference Name</title>
-    <type>int unsigned</type>
+    <title>Status Check Name</title>
+    <type>varchar</type>
+    <length>255</length>
     <import>true</import>
+    <required>true</required>
+    <comment>Name of the status check this preference references.</comment>
     <add>4.7</add>
   </field>
   <index>
     <name>UI_status_pref_name</name>
     <fieldName>name</fieldName>
-    <unique>true</unique>
     <add>4.7</add>
   </index>
   <field>
     <title>Hush Status Notifications Until</title>
     <type>date</type>
     <import>true</import>
-    <comment>expires minimum_date_severity.  NULL never hushes.</comment>
+    <comment>expires ignore_severity.  NULL never hushes.</comment>
     <default>NULL</default>
     <add>4.7</add>
   </field>
   <field>
-    <name>minimum_report_severity</name>
-    <title>Minimum Report Severity</title>
+    <name>ignore_severity</name>
+    <title>Ignore Severity</title>
     <type>int unsigned</type>
     <import>true</import>
-    <comment>Hush messages up to but excluding this severity.</comment>
+    <comment>Hush messages up to and including this severity.</comment>
+    <default>1</default>
     <add>4.7</add>
   </field>
   <field>
     <comment>These settings are per-check, and can't be compared across checks.</comment>
     <add>4.7</add>
   </field>
+  <field>
+    <name>check_info</name>
+    <title>Check Info</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>These values are per-check, and can't be compared across checks.</comment>
+    <add>4.7</add>
+  </field>
 </table>