*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6c4ced0a0ac204cde5c048d37aee6057)
+ * (GenCodeChecksum:dcb494bf3990ce63b66ef13ee47a2d15)
*/
/**
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Field Is Active?'),
'description' => 'Is this property active?',
+ 'default' => '1',
'table_name' => 'civicrm_custom_field',
'entity' => 'CustomField',
'bao' => 'CRM_Core_BAO_CustomField',
*
* Generated from xml/schema/CRM/Core/CustomGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:e0236d574279679e242f45bc73c4680a)
+ * (GenCodeChecksum:6b88842459aadee0598c08bd4d7518f2)
*/
/**
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Custom Group Is Active?'),
'description' => 'Is this property active?',
+ 'default' => '1',
'table_name' => 'civicrm_custom_group',
'entity' => 'CustomGroup',
'bao' => 'CRM_Core_BAO_CustomGroup',
ALTER TABLE civicrm_custom_group ALTER column is_multiple SET DEFAULT 0;
UPDATE civicrm_custom_group SET is_multiple = 0 WHERE is_multiple IS NULL;
ALTER TABLE civicrm_custom_group ALTER column is_active SET DEFAULT 1;
+ALTER TABLE civicrm_custom_field ALTER column is_view SET DEFAULT 0;
+UPDATE civicrm_custom_field SET is_view = 0 WHERE is_view IS NULL;
+ALTER TABLE civicrm_custom_field ALTER column is_required SET DEFAULT 0;
+UPDATE civicrm_custom_field SET is_required = 0 WHERE is_required IS NULL;
+ALTER TABLE civicrm_custom_field ALTER column is_searchable SET DEFAULT 0;
+UPDATE civicrm_custom_field SET is_searchable = 0 WHERE is_required IS NULL;
+ALTER TABLE civicrm_custom_field ALTER column is_active SET DEFAULT 1;
<title>Custom Field Is Required?</title>
<type>boolean</type>
<comment>Is a value required for this property.</comment>
+ <default>0</default>
<add>1.1</add>
</field>
<field>
<title>Allow Searching on Field?</title>
<type>boolean</type>
<comment>Is this property searchable.</comment>
+ <default>0</default>
<add>1.1</add>
</field>
<field>
<type>boolean</type>
<title>Custom Field Is Active?</title>
<comment>Is this property active?</comment>
+ <default>1</default>
<add>1.1</add>
</field>
<field>
<name>is_view</name>
<type>boolean</type>
<title>Field is Viewable</title>
+ <default>0</default>
<comment>Is this property set by PHP Code? A code field is viewable but not editable</comment>
<add>1.1</add>
</field>