CRM-15168 more metadata titles (& whitespace
[civicrm-core.git] / xml / schema / Core / OptionValue.xml
index 217b5632f07683fd534412ac0d2d31f76b911e3b..707132c8b86078addbbb6b3c823ccf34ba2668e8 100644 (file)
@@ -8,6 +8,7 @@
   <log>true</log>
   <field>
       <name>id</name>
+    <title>Option Value ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Option ID</comment>
@@ -19,6 +20,7 @@
   </primaryKey>
   <field>
       <name>option_group_id</name>
+    <title>Option Group ID</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Group which this option belongs to.</comment>
   </field>
   <field>
        <name>is_active</name>
+    <title>Option Is Active</title>
        <type>boolean</type>
        <default>1</default>
        <comment>Is this option active?</comment>
   <field>
       <name>domain_id</name>
       <type>int unsigned</type>
+      <pseudoconstant>
+          <table>civicrm_domain</table>
+          <keyColumn>id</keyColumn>
+          <labelColumn>name</labelColumn>
+      </pseudoconstant>
       <comment>Which Domain is this option value for</comment>
       <add>3.1</add>
   </field>