Merge pull request #23052 from konadave/r25088
[civicrm-core.git] / xml / schema / Core / OptionGroup.xml
index 018922c6aeb90f3ee0682b83c3a55c29717eed97..36c64076429b1381a1f91a3ca5e116f0bd489bc1 100644 (file)
   </field>
   <field>
     <name>data_type</name>
-    <title>Data Type for this option group</title>
+    <title>Data Type</title>
     <type>varchar</type>
     <length>128</length>
-    <comment>Option group description.</comment>
+    <comment>Type of data stored by this option group.</comment>
     <pseudoconstant>
       <callback>CRM_Utils_Type::dataTypes</callback>
     </pseudoconstant>
     <comment>A lock to remove the ability to add new options via the UI.</comment>
     <add>4.5</add>
   </field>
+  <field>
+    <name>option_value_fields</name>
+    <title>Option Value Fields</title>
+    <type>varchar</type>
+    <length>128</length>
+    <default>"name,label,description"</default>
+    <comment>Which optional columns from the option_value table are in use by this group.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_SelectValues::optionValueFields</callback>
+    </pseudoconstant>
+    <serialize>COMMA</serialize>
+    <add>5.49</add>
+  </field>
   <index>
     <name>UI_name</name>
     <fieldName>name</fieldName>