Merge pull request #9000 from ravi-sharma/dev/CRM-19323
[civicrm-core.git] / xml / schema / Core / MailSettings.xml
index f887cfbc9ed5b875eb9123eb39a2201e754c1ba2..cf13165d19659f25226cab2b21b63d5082b13854 100644 (file)
@@ -6,6 +6,7 @@
   <add>2.2</add>
   <field>
     <name>id</name>
+    <title>Mail Settings ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>primary key</comment>
     <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-      <name>domain_id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <pseudoconstant>
-          <table>civicrm_domain</table>
-          <keyColumn>id</keyColumn>
-          <labelColumn>name</labelColumn>
-      </pseudoconstant>
-      <comment>Which Domain is this match entry for</comment>
-      <add>3.1</add>
+    <name>domain_id</name>
+    <title>Mail Settings Domain</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <pseudoconstant>
+      <table>civicrm_domain</table>
+      <keyColumn>id</keyColumn>
+      <labelColumn>name</labelColumn>
+    </pseudoconstant>
+    <comment>Which Domain is this match entry for</comment>
+    <add>3.1</add>
   </field>
   <foreignKey>
-       <name>domain_id</name>
-       <table>civicrm_domain</table>
-       <key>id</key>
-       <add>4.5</add>
+    <name>domain_id</name>
+    <table>civicrm_domain</table>
+    <key>id</key>
+    <add>4.5</add>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
     <name>name</name>
+    <title>Mail Settings Name</title>
     <type>varchar</type>
     <length>255</length>
     <comment>name of this group of settings</comment>
   </field>
   <field>
     <name>is_default</name>
+    <title>Is Default Mail Settings?</title>
     <type>boolean</type>
     <comment>whether this is the default set of settings for this domain</comment>
     <add>2.2</add>
   </field>
   <field>
     <name>domain</name>
+    <title>email Domain</title>
     <type>varchar</type>
     <length>255</length>
     <comment>email address domain (the part after @)</comment>
@@ -55,6 +61,7 @@
   </field>
   <field>
     <name>localpart</name>
+    <title>email Local Part</title>
     <type>varchar</type>
     <length>255</length>
     <comment>optional local part (like civimail+ for addresses like civimail+s.1.2@example.com)</comment>
@@ -62,6 +69,7 @@
   </field>
   <field>
     <name>return_path</name>
+    <title>Return Path</title>
     <type>varchar</type>
     <length>255</length>
     <comment>contents of the Return-Path header</comment>
@@ -69,6 +77,7 @@
   </field>
   <field>
     <name>protocol</name>
+    <title>Protocol</title>
     <type>varchar</type>
     <length>255</length>
     <comment>name of the protocol to use for polling (like IMAP, POP3 or Maildir)</comment>
@@ -82,6 +91,7 @@
   </field>
   <field>
     <name>server</name>
+    <title>Mail Server</title>
     <type>varchar</type>
     <length>255</length>
     <comment>server to use when polling</comment>
   </field>
   <field>
     <name>port</name>
+    <title>Mail Port</title>
     <type>int unsigned</type>
     <comment>port to use when polling</comment>
     <add>2.2</add>
   </field>
   <field>
     <name>username</name>
+    <title>Mail Account Username</title>
     <type>varchar</type>
     <length>255</length>
     <comment>username to use when polling</comment>
   </field>
   <field>
     <name>password</name>
+    <title>Mail Account Password</title>
     <type>varchar</type>
     <length>255</length>
     <comment>password to use when polling</comment>
   </field>
   <field>
     <name>is_ssl</name>
+    <title>Mail Account Uses SSL</title>
     <type>boolean</type>
     <comment>whether to use SSL or not</comment>
     <add>2.2</add>
   </field>
   <field>
     <name>source</name>
+    <title>Mail Folder</title>
     <type>varchar</type>
     <length>255</length>
     <comment>folder to poll from when using IMAP, path to poll from when using Maildir, etc.</comment>