Merge pull request #17130 from jitendrapurohit/mail-62
[civicrm-core.git] / xml / schema / Core / OptionGroup.xml
index 1da22f5b5cfa73b065c6a1c934bf2c3f209500fd..3df4c11d1848186a0538d9d4a651015e83c47791 100644 (file)
     <comment>Option group description.</comment>
     <add>1.5</add>
   </field>
+  <field>
+    <name>data_type</name>
+    <title>Data Type for this option group</title>
+    <type>varchar</type>
+    <length>128</length>
+    <comment>Option group description.</comment>
+    <pseudoconstant>
+      <callback>CRM_Utils_Type::dataTypes</callback>
+    </pseudoconstant>
+    <add>4.7</add>
+  </field>
   <field>
     <name>is_reserved</name>
     <title>Option Group Is Reserved?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this a predefined system option group (i.e. it can not be deleted)?</comment>
     <add>1.5</add>
   </field>
     <name>is_active</name>
     <title>Option Group Is Active?</title>
     <type>boolean</type>
+    <default>1</default>
+    <required>true</required>
     <comment>Is this option group active?</comment>
     <add>1.5</add>
   </field>
   <field>
     <name>is_locked</name>
     <title>Option Group Is Locked</title>
+    <default>0</default>
+    <required>true</required>
     <type>boolean</type>
     <comment>A lock to remove the ability to add new options via the UI.</comment>
     <add>4.5</add>