Schema - Fix boolean fields in 'Core'
authorMonish Deb <monish.deb@jmaconsulting.biz>
Fri, 8 Apr 2022 01:12:16 +0000 (18:12 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 8 Apr 2022 01:12:16 +0000 (18:12 -0700)
55 files changed:
CRM/Core/DAO/ActionLog.php
CRM/Core/DAO/ActionSchedule.php
CRM/Core/DAO/Address.php
CRM/Core/DAO/Country.php
CRM/Core/DAO/County.php
CRM/Core/DAO/CustomField.php
CRM/Core/DAO/CustomGroup.php
CRM/Core/DAO/Dashboard.php
CRM/Core/DAO/Email.php
CRM/Core/DAO/IM.php
CRM/Core/DAO/Job.php
CRM/Core/DAO/MailSettings.php
CRM/Core/DAO/Menu.php
CRM/Core/DAO/MessageTemplate.php
CRM/Core/DAO/OpenID.php
CRM/Core/DAO/Phone.php
CRM/Core/DAO/PrevNextCache.php
CRM/Core/DAO/PrintLabel.php
CRM/Core/DAO/Setting.php
CRM/Core/DAO/StateProvince.php
CRM/Core/DAO/StatusPreference.php
CRM/Core/DAO/Tag.php
CRM/Core/DAO/UFField.php
CRM/Core/DAO/UFGroup.php
CRM/Core/DAO/UFJoin.php
CRM/Core/DAO/WordReplacement.php
CRM/Upgrade/Incremental/php/FiveFortyNine/Core.bool.php [new file with mode: 0644]
xml/schema/Core/ActionLog.xml
xml/schema/Core/ActionSchedule.xml
xml/schema/Core/Address.xml
xml/schema/Core/Country.xml
xml/schema/Core/County.xml
xml/schema/Core/CustomField.xml
xml/schema/Core/CustomGroup.xml
xml/schema/Core/Dashboard.xml
xml/schema/Core/Email.xml
xml/schema/Core/IM.xml
xml/schema/Core/Job.xml
xml/schema/Core/MailSettings.xml
xml/schema/Core/Menu.xml
xml/schema/Core/MessageTemplate.xml
xml/schema/Core/OpenID.xml
xml/schema/Core/OptionGroup.xml
xml/schema/Core/Phone.xml
xml/schema/Core/PrevNextCache.xml
xml/schema/Core/PrintLabel.xml
xml/schema/Core/RecurringEntity.xml
xml/schema/Core/Setting.xml
xml/schema/Core/StateProvince.xml
xml/schema/Core/StatusPreference.xml
xml/schema/Core/Tag.xml
xml/schema/Core/UFField.xml
xml/schema/Core/UFGroup.xml
xml/schema/Core/UFJoin.xml
xml/schema/Core/WordReplacement.xml

index 94ab9bdc8f1327532a7ebd49191a8b2fd78b2fef..21c4ba8b8c0e8c9ab76a878eb167fa048901f226 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5437b79ba43089ace75ed2e072e7677e)
+ * (GenCodeChecksum:f3a6da0a3e4c1c9601265c8ad6eb85f4)
  */
 
 /**
@@ -85,7 +85,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
   /**
    * Was there any error sending the reminder?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -254,6 +254,7 @@ class CRM_Core_DAO_ActionLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Error?'),
           'description' => ts('Was there any error sending the reminder?'),
+          'required' => TRUE,
           'where' => 'civicrm_action_log.is_error',
           'default' => '0',
           'table_name' => 'civicrm_action_log',
index 8a01d1a99f4554840cb6f3c0b9cc95821e93231c..cd58cfb12d447ea6b14c552adbdbbe95ae7b63dd 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/ActionSchedule.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ea596948c02894437bcc1a3f5b5c4f9d)
+ * (GenCodeChecksum:444acdd7b222ed9f593b0b84aebfb763)
  */
 
 /**
@@ -67,7 +67,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
   /**
    * Is this the recipient criteria limited to OR in addition to?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -128,7 +128,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
   public $start_action_date;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -191,7 +191,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
   /**
    * Is this option active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -254,7 +254,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
   /**
    * Record Activity for this reminder?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -512,7 +512,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Limit To'),
           'description' => ts('Is this the recipient criteria limited to OR in addition to?'),
+          'required' => TRUE,
           'where' => 'civicrm_action_schedule.limit_to',
+          'default' => '1',
           'table_name' => 'civicrm_action_schedule',
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
@@ -633,6 +635,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'name' => 'is_repeat',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Repeat?'),
+          'required' => TRUE,
           'where' => 'civicrm_action_schedule.is_repeat',
           'default' => '0',
           'table_name' => 'civicrm_action_schedule',
@@ -754,6 +757,7 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Schedule is Active?'),
           'description' => ts('Is this option active?'),
+          'required' => TRUE,
           'where' => 'civicrm_action_schedule.is_active',
           'default' => '1',
           'table_name' => 'civicrm_action_schedule',
@@ -846,8 +850,9 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Record Activity for Reminder?'),
           'description' => ts('Record Activity for this reminder?'),
+          'required' => TRUE,
           'where' => 'civicrm_action_schedule.record_activity',
-          'default' => NULL,
+          'default' => '0',
           'table_name' => 'civicrm_action_schedule',
           'entity' => 'ActionSchedule',
           'bao' => 'CRM_Core_BAO_ActionSchedule',
index d0ab74783ce975800eadf5c20697c130e07ff715..95ed9717b7d5d6252d5380ccab9abbfbcaf4c10d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Address.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:80a3c43c953f8fe1ddb7ac96cd926139)
+ * (GenCodeChecksum:63f758987eb3ff9fb47750eddb1a9ee8)
  */
 
 /**
@@ -67,7 +67,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
   /**
    * Is this the primary address.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -76,7 +76,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
   /**
    * Is this the billing address.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -267,7 +267,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
   /**
    * Is this a manually entered geo code
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -402,6 +402,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary address'),
           'description' => ts('Is this the primary address.'),
+          'required' => TRUE,
           'where' => 'civicrm_address.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_address',
@@ -418,6 +419,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Billing Address'),
           'description' => ts('Is this the billing address.'),
+          'required' => TRUE,
           'where' => 'civicrm_address.is_billing',
           'default' => '0',
           'table_name' => 'civicrm_address',
@@ -828,6 +830,7 @@ class CRM_Core_DAO_Address extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Manually Geocoded'),
           'description' => ts('Is this a manually entered geo code'),
+          'required' => TRUE,
           'where' => 'civicrm_address.manual_geo_code',
           'export' => TRUE,
           'default' => '0',
index dff3a8146c761cbb45135bc33840ce10dc45472d..d6cd9d5503c90931892d9aa1986a0a57e702e565 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Country.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7798fb6aea4643dd3f7189981c641012)
+ * (GenCodeChecksum:27aa4dca6a02c9e3827feff015f759fe)
  */
 
 /**
@@ -112,7 +112,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
   /**
    * Should state/province be displayed as abbreviation for contacts from this country?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -121,7 +121,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
   /**
    * Is this Country active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -304,6 +304,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Abbreviate Province?'),
           'description' => ts('Should state/province be displayed as abbreviation for contacts from this country?'),
+          'required' => TRUE,
           'where' => 'civicrm_country.is_province_abbreviated',
           'default' => '0',
           'table_name' => 'civicrm_country',
@@ -317,6 +318,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Country Is Active'),
           'description' => ts('Is this Country active?'),
+          'required' => TRUE,
           'where' => 'civicrm_country.is_active',
           'default' => '1',
           'table_name' => 'civicrm_country',
index d1f5bb8873b1b9fab6f832d37eec6b1597cbaeef..72415042c8eb81591a41977f41446ed2f628a5e7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/County.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5a261e24e77bb54854f782628a13dbf6)
+ * (GenCodeChecksum:3b5b06caf78948fe6bbbafe831c2aa96)
  */
 
 /**
@@ -76,7 +76,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
   /**
    * Is this County active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -200,6 +200,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('County Is Active'),
           'description' => ts('Is this County active?'),
+          'required' => TRUE,
           'where' => 'civicrm_county.is_active',
           'default' => '1',
           'table_name' => 'civicrm_county',
index 4132455e1aafc5a50071d07741598bf74e17dbe7..a74d5a950ae0008354dfbdf3fd5d532f1347c015 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3af9363de85802021c314ddb8d443848)
+ * (GenCodeChecksum:52ca62aae191d0b8f9ec8bf5ad5595d1)
  */
 
 /**
@@ -116,7 +116,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
   /**
    * Is a value required for this property.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -125,7 +125,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
   /**
    * Is this property searchable.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -134,7 +134,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
   /**
    * Is this property range searchable.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -206,7 +206,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
   /**
    * Is this property set by PHP Code? A code field is viewable but not editable
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -323,7 +323,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
   /**
    * Should the multi-record custom field values be displayed in tab table listing
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -503,6 +503,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Custom Field Is Required?'),
           'description' => ts('Is a value required for this property.'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_field.is_required',
           'default' => '0',
           'table_name' => 'civicrm_custom_field',
@@ -516,6 +517,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Allow Searching on Field?'),
           'description' => ts('Is this property searchable.'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_field.is_searchable',
           'default' => '0',
           'table_name' => 'civicrm_custom_field',
@@ -529,6 +531,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Search as a Range'),
           'description' => ts('Is this property range searchable.'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_field.is_search_range',
           'default' => '0',
           'table_name' => 'civicrm_custom_field',
@@ -635,6 +638,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Field is Viewable'),
           'description' => ts('Is this property set by PHP Code? A code field is viewable but not editable'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_field.is_view',
           'default' => '0',
           'table_name' => 'civicrm_custom_field',
@@ -818,6 +822,7 @@ class CRM_Core_DAO_CustomField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Field Display'),
           'description' => ts('Should the multi-record custom field values be displayed in tab table listing'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_field.in_selector',
           'default' => '0',
           'table_name' => 'civicrm_custom_field',
index 41f78998d694180f4e455acf7dc92bc74eea4916..55448549ca8c6b2e67caba4f1ee1ff22128f0b73 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/CustomGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:979bca796163b9af253a7860d9d4a01d)
+ * (GenCodeChecksum:65d78bdab80228a63775214faab08ee0)
  */
 
 /**
@@ -115,7 +115,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Will this group be in collapsed or expanded mode on initial display ?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -151,7 +151,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Is this property active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -169,7 +169,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Does this group hold multiple values?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -196,7 +196,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Will this group be in collapsed or expanded mode on advanced search display ?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -223,7 +223,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Is this a reserved Custom Group?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -232,7 +232,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
   /**
    * Is this property public?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -412,6 +412,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Collapse Custom Group?'),
           'description' => ts('Will this group be in collapsed or expanded mode on initial display ?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.collapse_display',
           'default' => '0',
           'table_name' => 'civicrm_custom_group',
@@ -473,6 +474,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Custom Group Is Active?'),
           'description' => ts('Is this property active?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.is_active',
           'default' => '1',
           'table_name' => 'civicrm_custom_group',
@@ -504,6 +506,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Supports Multiple Records'),
           'description' => ts('Does this group hold multiple values?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.is_multiple',
           'default' => '0',
           'table_name' => 'civicrm_custom_group',
@@ -541,6 +544,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Collapse Group Display'),
           'description' => ts('Will this group be in collapsed or expanded mode on advanced search display ?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.collapse_adv_display',
           'default' => '0',
           'table_name' => 'civicrm_custom_group',
@@ -582,6 +586,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Reserved Group?'),
           'description' => ts('Is this a reserved Custom Group?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_custom_group',
@@ -595,6 +600,7 @@ class CRM_Core_DAO_CustomGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Custom Group Is Public?'),
           'description' => ts('Is this property public?'),
+          'required' => TRUE,
           'where' => 'civicrm_custom_group.is_public',
           'default' => '1',
           'table_name' => 'civicrm_custom_group',
index 6121094d5ec534d5a61b96c3623e2efaced78779..d1cb04ef75c5d1c65b0b445823497b4c9775fbf4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Dashboard.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:c93931e695d897a5f4ad92e388748424)
+ * (GenCodeChecksum:35f8b4725d70d269c6c23ed8f7e2b47d)
  */
 
 /**
@@ -103,7 +103,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
   /**
    * Is this dashlet active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -112,7 +112,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
   /**
    * Is this dashlet reserved?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -308,6 +308,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Active?'),
           'description' => ts('Is this dashlet active?'),
+          'required' => TRUE,
           'where' => 'civicrm_dashboard.is_active',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
@@ -321,6 +322,7 @@ class CRM_Core_DAO_Dashboard extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Dashlet Reserved?'),
           'description' => ts('Is this dashlet reserved?'),
+          'required' => TRUE,
           'where' => 'civicrm_dashboard.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_dashboard',
index 739ea4b1646831b922eb481553b430db18b60856..082c77f910250deae123510aa5eab81c3b04ba3d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2a48ebd09a4f1de290856c1e7315ce69)
+ * (GenCodeChecksum:58fe115e0962f83c3906bce5f663f0fc)
  */
 
 /**
@@ -83,7 +83,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
   /**
    * Is this the primary email address
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -92,7 +92,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
   /**
    * Is this the billing?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -273,6 +273,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary email'),
           'description' => ts('Is this the primary email address'),
+          'required' => TRUE,
           'where' => 'civicrm_email.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_email',
@@ -289,6 +290,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Billing Email?'),
           'description' => ts('Is this the billing?'),
+          'required' => TRUE,
           'where' => 'civicrm_email.is_billing',
           'default' => '0',
           'table_name' => 'civicrm_email',
index 1547662bf95bba4aa48adf534acac07bdf0ec54d..3d193b22b28c93b6f35032295c29b31a029d67d2 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/IM.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:830e0ccbcdcfe1769330d4cfb39f3285)
+ * (GenCodeChecksum:aa43f28e70d1de3571aa1775f71d7990)
  */
 
 /**
@@ -92,7 +92,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
   /**
    * Is this the primary IM for this contact and location.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -101,7 +101,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
   /**
    * Is this the billing?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -246,6 +246,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary IM'),
           'description' => ts('Is this the primary IM for this contact and location.'),
+          'required' => TRUE,
           'where' => 'civicrm_im.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_im',
@@ -262,6 +263,7 @@ class CRM_Core_DAO_IM extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is IM Billing?'),
           'description' => ts('Is this the billing?'),
+          'required' => TRUE,
           'where' => 'civicrm_im.is_billing',
           'default' => '0',
           'table_name' => 'civicrm_im',
index 65d35198052f009737ca86d6474672d343e88737..6ba4e72cc3a790ea5ada2d8e7bde91de64a02556 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Job.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:75ec772bec625c1d315df0abadd2fca6)
+ * (GenCodeChecksum:48dcb79d3068aa6d0a994054b84658fe)
  */
 
 /**
@@ -123,7 +123,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
   /**
    * Is this job active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -342,7 +342,9 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Job Is Active?'),
           'description' => ts('Is this job active?'),
+          'required' => TRUE,
           'where' => 'civicrm_job.is_active',
+          'default' => '1',
           'table_name' => 'civicrm_job',
           'entity' => 'Job',
           'bao' => 'CRM_Core_BAO_Job',
index 206ce6c08644730f268a9724a940d88518553a12..635828f78f7431aac8c3c87d24748532b237a4e9 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MailSettings.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:d0b9b61f890ea3ff893f8d4e03d0afcd)
+ * (GenCodeChecksum:d31cb841b4c5f88a27dacae0ab50a618)
  */
 
 /**
@@ -60,7 +60,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
   /**
    * whether this is the default set of settings for this domain
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -141,7 +141,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
   /**
    * whether to use SSL or not
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -168,14 +168,14 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
   /**
    * Enabling this option will have CiviCRM skip any emails that do not have the Case ID or Case Hash so that the system will only process emails that can be placed on case records. Any emails that are not processed will be moved to the ignored folder.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
   public $is_non_case_email_skipped;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -280,7 +280,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Default Mail Settings?'),
           'description' => ts('whether this is the default set of settings for this domain'),
+          'required' => TRUE,
           'where' => 'civicrm_mail_settings.is_default',
+          'default' => '0',
           'table_name' => 'civicrm_mail_settings',
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
@@ -409,7 +411,9 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Mail Account Uses SSL'),
           'description' => ts('whether to use SSL or not'),
+          'required' => TRUE,
           'where' => 'civicrm_mail_settings.is_ssl',
+          'default' => '0',
           'table_name' => 'civicrm_mail_settings',
           'entity' => 'MailSettings',
           'bao' => 'CRM_Core_BAO_MailSettings',
@@ -457,6 +461,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Skip emails which do not have a Case ID or Case hash'),
           'description' => ts('Enabling this option will have CiviCRM skip any emails that do not have the Case ID or Case Hash so that the system will only process emails that can be placed on case records. Any emails that are not processed will be moved to the ignored folder.'),
+          'required' => TRUE,
           'where' => 'civicrm_mail_settings.is_non_case_email_skipped',
           'default' => '0',
           'table_name' => 'civicrm_mail_settings',
@@ -472,6 +477,7 @@ class CRM_Core_DAO_MailSettings extends CRM_Core_DAO {
           'name' => 'is_contact_creation_disabled_if_no_match',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Do not create new contacts when filing emails'),
+          'required' => TRUE,
           'where' => 'civicrm_mail_settings.is_contact_creation_disabled_if_no_match',
           'default' => '0',
           'table_name' => 'civicrm_mail_settings',
index d2fc425efcb7a9013c9e8a769043c62e0f007911..e8cc323017b21cb71354babcd2e17f65a5e36d2b 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Menu.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:a6c1c555579640a8bb83b496ee126e1a)
+ * (GenCodeChecksum:4d01bd1731e617a192799fab24077cac)
  */
 
 /**
@@ -146,7 +146,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
   /**
    * Is this menu item active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -155,7 +155,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
   /**
    * Is this menu accessible to the public?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -164,7 +164,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
   /**
    * Is this menu exposed to the navigation system?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -173,7 +173,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
   /**
    * Should this menu be exposed via SSL if enabled?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -209,7 +209,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
   /**
    * skip this url being exposed to breadcrumb
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -468,7 +468,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Enabled?'),
           'description' => ts('Is this menu item active?'),
+          'required' => TRUE,
           'where' => 'civicrm_menu.is_active',
+          'default' => '1',
           'table_name' => 'civicrm_menu',
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
@@ -480,7 +482,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Public?'),
           'description' => ts('Is this menu accessible to the public?'),
+          'required' => TRUE,
           'where' => 'civicrm_menu.is_public',
+          'default' => '1',
           'table_name' => 'civicrm_menu',
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
@@ -492,7 +496,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Exposed?'),
           'description' => ts('Is this menu exposed to the navigation system?'),
+          'required' => TRUE,
           'where' => 'civicrm_menu.is_exposed',
+          'default' => '1',
           'table_name' => 'civicrm_menu',
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
@@ -504,7 +510,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Use SSL?'),
           'description' => ts('Should this menu be exposed via SSL if enabled?'),
+          'required' => TRUE,
           'where' => 'civicrm_menu.is_ssl',
+          'default' => '1',
           'table_name' => 'civicrm_menu',
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
@@ -558,7 +566,9 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Hide Breadcrumb?'),
           'description' => ts('skip this url being exposed to breadcrumb'),
+          'required' => TRUE,
           'where' => 'civicrm_menu.skipBreadcrumb',
+          'default' => '0',
           'table_name' => 'civicrm_menu',
           'entity' => 'Menu',
           'bao' => 'CRM_Core_DAO_Menu',
index 72c90015672b761eebd50d70fa5e74523fb20f3a..a124c9d467c388088bf7774c6d80b4ffcfc951b4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1fba7635baeb10d95b90c02ca4ea99c6)
+ * (GenCodeChecksum:a2e8de0828f836d42d4dcce19200ab27)
  */
 
 /**
@@ -76,7 +76,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
   public $msg_html;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -101,7 +101,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
   /**
    * is this the default message template for the workflow referenced by workflow_id?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -110,7 +110,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
   /**
    * is this the reserved message template which we ship for the workflow referenced by workflow_id?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -119,7 +119,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
   /**
    * Is this message template used for sms?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -237,6 +237,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Active'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_active',
           'default' => '1',
           'table_name' => 'civicrm_msg_template',
@@ -275,6 +276,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template Is Default?'),
           'description' => ts('is this the default message template for the workflow referenced by workflow_id?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_default',
           'default' => '1',
           'table_name' => 'civicrm_msg_template',
@@ -288,6 +290,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template Is Reserved?'),
           'description' => ts('is this the reserved message template which we ship for the workflow referenced by workflow_id?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_msg_template',
@@ -301,6 +304,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template is used for SMS?'),
           'description' => ts('Is this message template used for sms?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_sms',
           'default' => '0',
           'table_name' => 'civicrm_msg_template',
index c5413e170d7dd420b6eff273c8bfa36cbc0cdbdf..7a6650f7bc874a350cd10686a7f6ce6e0399fc8e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/OpenID.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0e8f41d1f528dfadc08d7f53610948ca)
+ * (GenCodeChecksum:7c70e03ffe06633c9e61c5845967d286)
  */
 
 /**
@@ -78,7 +78,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
   /**
    * Is this the primary email for this contact and location.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -213,6 +213,7 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary ID'),
           'description' => ts('Is this the primary email for this contact and location.'),
+          'required' => TRUE,
           'where' => 'civicrm_openid.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_openid',
index 3241bf3f1d39e6afca339367be03721aca78a554..e8255a6032d0f349e3ef242135cae04d25d06334 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Phone.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:76f82c31308292a82535fb6bcf6acc4d)
+ * (GenCodeChecksum:b55a8820477e7df5db59b4ac8dc6adb6)
  */
 
 /**
@@ -74,7 +74,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
   /**
    * Is this the primary phone for this contact and location.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -83,7 +83,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
   /**
    * Is this the billing?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -234,6 +234,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Primary phone'),
           'description' => ts('Is this the primary phone for this contact and location.'),
+          'required' => TRUE,
           'where' => 'civicrm_phone.is_primary',
           'default' => '0',
           'table_name' => 'civicrm_phone',
@@ -250,6 +251,7 @@ class CRM_Core_DAO_Phone extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Billing Phone'),
           'description' => ts('Is this the billing?'),
+          'required' => TRUE,
           'where' => 'civicrm_phone.is_billing',
           'default' => '0',
           'table_name' => 'civicrm_phone',
index 9ab4943daa5e211ac599bf269e19c4a0f50b69eb..917c784383c9f5a92c35b42cd9bd4c71e152a36c 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrevNextCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:34c9a3b8f37f15fa5f0d9174e5e1c981)
+ * (GenCodeChecksum:f024b706891db44527cdb153c1cdaea7)
  */
 
 /**
@@ -83,7 +83,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
   public $data;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -202,6 +202,7 @@ class CRM_Core_DAO_PrevNextCache extends CRM_Core_DAO {
           'name' => 'is_selected',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Selected'),
+          'required' => TRUE,
           'where' => 'civicrm_prevnext_cache.is_selected',
           'default' => '0',
           'table_name' => 'civicrm_prevnext_cache',
index 73cd71cb68a7d918be9ca85f38bbcd76564da6b8..6a44d1fd370a04fbb80636d2a42c80fe7155477f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/PrintLabel.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2ff186e7860c945a080bd0d8672dee5f)
+ * (GenCodeChecksum:55db87fdd43d6037d64da10df24fc2b8)
  */
 
 /**
@@ -94,7 +94,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
   /**
    * Is this default?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -103,7 +103,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
   /**
    * Is this option active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -112,7 +112,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
   /**
    * Is this reserved label?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -288,6 +288,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Label is Default?'),
           'description' => ts('Is this default?'),
+          'required' => TRUE,
           'where' => 'civicrm_print_label.is_default',
           'default' => '1',
           'table_name' => 'civicrm_print_label',
@@ -301,6 +302,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Label Is Active?'),
           'description' => ts('Is this option active?'),
+          'required' => TRUE,
           'where' => 'civicrm_print_label.is_active',
           'default' => '1',
           'table_name' => 'civicrm_print_label',
@@ -314,6 +316,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Label Reserved?'),
           'description' => ts('Is this reserved label?'),
+          'required' => TRUE,
           'where' => 'civicrm_print_label.is_reserved',
           'default' => '1',
           'table_name' => 'civicrm_print_label',
index 32c4c45741d298c317f462a22b4ae89fc6acf577..65cc578f4aedab737be78e0653f5be45cc1b0c70 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Setting.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1540ee58b9ec485590f4ce8cfe94f5a4)
+ * (GenCodeChecksum:faec64e198a9187d40a3c1036a543d5c)
  */
 
 /**
@@ -76,7 +76,7 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
   /**
    * Is this setting a contact specific or site wide setting?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -242,7 +242,9 @@ class CRM_Core_DAO_Setting extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Domain Setting?'),
           'description' => ts('Is this setting a contact specific or site wide setting?'),
+          'required' => TRUE,
           'where' => 'civicrm_setting.is_domain',
+          'default' => '0',
           'table_name' => 'civicrm_setting',
           'entity' => 'Setting',
           'bao' => 'CRM_Core_BAO_Setting',
index a07f290a77813571db2bd6ff30842b079d3ea9c1..4492a7fa1b00fe2fb42978819ff51323f27ab688 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StateProvince.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fe8e2b8bd40cc99eb28b66260a48da80)
+ * (GenCodeChecksum:b52f997bf6a08f0408c349a0ef187779)
  */
 
 /**
@@ -76,7 +76,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
   /**
    * Is this StateProvince active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -194,6 +194,7 @@ class CRM_Core_DAO_StateProvince extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('StateProvince Is Active'),
           'description' => ts('Is this StateProvince active?'),
+          'required' => TRUE,
           'where' => 'civicrm_state_province.is_active',
           'default' => '1',
           'table_name' => 'civicrm_state_province',
index 60d0f297efaada5daf96a2ae4e7b4770c41a06d9..6dfacf75f9f0cebd4a79602babd0de363fd3b0b6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/StatusPreference.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1fca44b28defd0dfa440e071408ae623)
+ * (GenCodeChecksum:3be71b1385c3b8095593a3c916f63b38)
  */
 
 /**
@@ -96,7 +96,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
   /**
    * Is this status check active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -265,6 +265,7 @@ class CRM_Core_DAO_StatusPreference extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Check Is Active'),
           'description' => ts('Is this status check active?'),
+          'required' => TRUE,
           'where' => 'civicrm_status_pref.is_active',
           'default' => '1',
           'table_name' => 'civicrm_status_pref',
index 3dcf7dbf5d0e8cc2ccd661b36eccea155b7af0cb..123795f5a939b01a6040169016a45f2639514e27 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Tag.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4e8a87bf73d5f2f09dacdd4891ee7305)
+ * (GenCodeChecksum:68e222188dd1d031d2219aa1617e15af)
  */
 
 /**
@@ -83,21 +83,21 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
   /**
    * Is this tag selectable / displayed
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
   public $is_selectable;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
   public $is_reserved;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -252,6 +252,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Display Tag?'),
           'description' => ts('Is this tag selectable / displayed'),
+          'required' => TRUE,
           'where' => 'civicrm_tag.is_selectable',
           'default' => '1',
           'table_name' => 'civicrm_tag',
@@ -264,6 +265,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'name' => 'is_reserved',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Reserved'),
+          'required' => TRUE,
           'where' => 'civicrm_tag.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_tag',
@@ -276,6 +278,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO {
           'name' => 'is_tagset',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Tagset'),
+          'required' => TRUE,
           'where' => 'civicrm_tag.is_tagset',
           'default' => '0',
           'table_name' => 'civicrm_tag',
index a35a7cc36844291f4849fff2f8f8b0fff883e4f6..8f4b833061c5b692a6892de16bdde909026c41e4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFField.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:dbab868218968878ca554480f974c2b4)
+ * (GenCodeChecksum:4d8ac7c59b6f2301cc22fe7966e8fc91)
  */
 
 /**
@@ -60,7 +60,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Is this field currently shareable? If false, hide the field for all sharing contexts.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -69,7 +69,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * the field is view only and not editable in user forms.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -78,7 +78,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Is this field required when included in a user or registration form?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -123,7 +123,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Is this field included as a column in the selector table?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -132,7 +132,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Is this field included search form of profile?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -186,7 +186,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Is this field reserved for use by some other CiviCRM functionality?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -195,7 +195,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
   /**
    * Include in multi-record listing?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -306,6 +306,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Is Active'),
           'description' => ts('Is this field currently shareable? If false, hide the field for all sharing contexts.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_active',
           'default' => '1',
           'table_name' => 'civicrm_uf_field',
@@ -319,6 +320,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Is View Only'),
           'description' => ts('the field is view only and not editable in user forms.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_view',
           'default' => '0',
           'table_name' => 'civicrm_uf_field',
@@ -332,6 +334,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Is Required'),
           'description' => ts('Is this field required when included in a user or registration form?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_required',
           'default' => '0',
           'table_name' => 'civicrm_uf_field',
@@ -404,6 +407,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Is a Filter'),
           'description' => ts('Is this field included as a column in the selector table?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.in_selector',
           'default' => '0',
           'table_name' => 'civicrm_uf_field',
@@ -417,6 +421,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Is Searchable'),
           'description' => ts('Is this field included search form of profile?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_searchable',
           'default' => '0',
           'table_name' => 'civicrm_uf_field',
@@ -507,7 +512,9 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Is Reserved'),
           'description' => ts('Is this field reserved for use by some other CiviCRM functionality?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_reserved',
+          'default' => '0',
           'table_name' => 'civicrm_uf_field',
           'entity' => 'UFField',
           'bao' => 'CRM_Core_BAO_UFField',
@@ -519,6 +526,7 @@ class CRM_Core_DAO_UFField extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Field Supports Multiple'),
           'description' => ts('Include in multi-record listing?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_field.is_multi_summary',
           'default' => '0',
           'table_name' => 'civicrm_uf_field',
index 37f9346e36260dde5550a19dd735e5eebe09daab..a3b97104aa042b72eb0257b446244dd7497e00d3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFGroup.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6d64e2deaff9b8408d4110c44d0e8152)
+ * (GenCodeChecksum:37e03f3367ced4a53471f4f137c8c8ad)
  */
 
 /**
@@ -42,7 +42,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Is this form currently active? If false, hide all related fields for all sharing contexts.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -132,7 +132,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should a CAPTCHA widget be included this Profile form.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -141,7 +141,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Do we want to map results from this profile.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -150,7 +150,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should edit link display in profile selector
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -159,7 +159,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should we display a link to the website profile in profile selector
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -168,7 +168,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should we update the contact record if we find a duplicate
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -186,7 +186,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should we create a cms user for this profile
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -202,7 +202,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Is this group reserved for use by some other CiviCRM functionality?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -238,7 +238,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should we include proximity search feature in this profile search form?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -265,7 +265,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
   /**
    * Should a Cancel button be included in this Profile form.
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -336,6 +336,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Is Active'),
           'description' => ts('Is this form currently active? If false, hide all related fields for all sharing contexts.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_active',
           'default' => '1',
           'table_name' => 'civicrm_uf_group',
@@ -502,6 +503,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Show Captcha On Profile'),
           'description' => ts('Should a CAPTCHA widget be included this Profile form.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.add_captcha',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -515,6 +517,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Map Profile'),
           'description' => ts('Do we want to map results from this profile.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_map',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -528,6 +531,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Show Edit Link?'),
           'description' => ts('Should edit link display in profile selector'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_edit_link',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -541,6 +545,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Show Link to CMS User'),
           'description' => ts('Should we display a link to the website profile in profile selector'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_uf_link',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -554,6 +559,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Update on Duplicate'),
           'description' => ts('Should we update the contact record if we find a duplicate'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_update_dupe',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -581,6 +587,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Create CMS User?'),
           'description' => ts('Should we create a cms user for this profile '),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_cms_user',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -605,7 +612,9 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Is Reserved'),
           'description' => ts('Is this group reserved for use by some other CiviCRM functionality?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_reserved',
+          'default' => '0',
           'table_name' => 'civicrm_uf_group',
           'entity' => 'UFGroup',
           'bao' => 'CRM_Core_BAO_UFGroup',
@@ -659,6 +668,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Include Proximity Search?'),
           'description' => ts('Should we include proximity search feature in this profile search form?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.is_proximity_search',
           'default' => '0',
           'table_name' => 'civicrm_uf_group',
@@ -708,6 +718,7 @@ class CRM_Core_DAO_UFGroup extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Include Cancel Button'),
           'description' => ts('Should a Cancel button be included in this Profile form.'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_group.add_cancel_button',
           'default' => '1',
           'table_name' => 'civicrm_uf_group',
index a3460bd94f4c460625cc676b4709cea919ee29de..5d7d4d547ea2a6f8e29b6d1356154e3ac9c3c817 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/UFJoin.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1e4fa645d4bface77a08688d714ba651)
+ * (GenCodeChecksum:f2e966f7c15ec53893157c9fad65cde2)
  */
 
 /**
@@ -42,7 +42,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
   /**
    * Is this join currently active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -166,6 +166,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Profile Use is active'),
           'description' => ts('Is this join currently active?'),
+          'required' => TRUE,
           'where' => 'civicrm_uf_join.is_active',
           'default' => '1',
           'table_name' => 'civicrm_uf_join',
index efb8b81e05d0108e6f639baef6458d3d2e7c5921..d07c8547e7b75e47707ed7d2757513baf4ff35c7 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/WordReplacement.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:705cadb5a39522334249027149873712)
+ * (GenCodeChecksum:c5865289b55e3bdbca5fbca82a61526b)
  */
 
 /**
@@ -60,7 +60,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
   /**
    * Is this entry active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -173,6 +173,7 @@ class CRM_Core_DAO_WordReplacement extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Word Replacement is Active'),
           'description' => ts('Is this entry active?'),
+          'required' => TRUE,
           'where' => 'civicrm_word_replacement.is_active',
           'default' => '1',
           'table_name' => 'civicrm_word_replacement',
diff --git a/CRM/Upgrade/Incremental/php/FiveFortyNine/Core.bool.php b/CRM/Upgrade/Incremental/php/FiveFortyNine/Core.bool.php
new file mode 100644 (file)
index 0000000..d2594f2
--- /dev/null
@@ -0,0 +1,129 @@
+<?php
+return [
+  'civicrm_action_schedule' => [
+    'limit_to' => "DEFAULT 1 COMMENT 'Is this the recipient criteria limited to OR in addition to?'",
+    'is_repeat' => "DEFAULT 0",
+    'is_active' => "DEFAULT 1 COMMENT 'Is this option active?'",
+    'record_activity' => "DEFAULT 0 COMMENT 'Record Activity for this reminder?'",
+  ],
+  'civicrm_action_log' => [
+    'is_error' => "DEFAULT 0 COMMENT 'Was there any error sending the reminder?'",
+  ],
+  'civicrm_address' => [
+    'is_primary' => "DEFAULT 0 COMMENT 'Is this the primary address.'",
+    'is_billing' => "DEFAULT 0 COMMENT 'Is this the billing address.'",
+    'manual_geo_code' => "DEFAULT 0 COMMENT 'Is this a manually entered geo code'",
+  ],
+  'civicrm_country' => [
+    'is_province_abbreviated' => "DEFAULT 0 COMMENT 'Should state/province be displayed as abbreviation for contacts from this country?'",
+    'is_active' => "DEFAULT 1 COMMENT 'Is this Country active?'",
+  ],
+  'civicrm_county' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this County active?'",
+  ],
+  'civicrm_custom_group' => [
+    'collapse_display' => "DEFAULT 0 COMMENT 'Will this group be in collapsed or expanded mode on initial display ?'",
+    'is_active' => "DEFAULT 1 COMMENT 'Is this property active?'",
+    'is_multiple' => "DEFAULT 0 COMMENT 'Does this group hold multiple values?'",
+    'collapse_adv_display' => "DEFAULT 0 COMMENT 'Will this group be in collapsed or expanded mode on advanced search display ?'",
+    'is_reserved' => "DEFAULT 0 COMMENT 'Is this a reserved Custom Group?'",
+    'is_public' => "DEFAULT 1 COMMENT 'Is this property public?'",
+  ],
+  'civicrm_custom_field' => [
+    'is_required' => "DEFAULT 0 COMMENT 'Is a value required for this property.'",
+    'is_searchable' => "DEFAULT 0 COMMENT 'Is this property searchable.'",
+    'is_search_range' => "DEFAULT 0 COMMENT 'Is this property range searchable.'",
+    'is_view' => "DEFAULT 0 COMMENT 'Is this property set by PHP Code? A code field is viewable but not editable'",
+    'in_selector' => "DEFAULT 0 COMMENT 'Should the multi-record custom field values be displayed in tab table listing'",
+  ],
+  'civicrm_dashboard' => [
+    'is_active' => "DEFAULT 0 COMMENT 'Is this dashlet active?'",
+    'is_reserved' => "DEFAULT 0 COMMENT 'Is this dashlet reserved?'",
+  ],
+  'civicrm_email' => [
+    'is_primary' => "DEFAULT 0 COMMENT 'Is this the primary email address'",
+    'is_billing' => "DEFAULT 0 COMMENT 'Is this the billing?'",
+  ],
+  'civicrm_im' => [
+    'is_primary' => "DEFAULT 0 COMMENT 'Is this the primary IM for this contact and location.'",
+    'is_billing' => "DEFAULT 0 COMMENT 'Is this the billing?'",
+  ],
+  'civicrm_job' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this job active?'",
+  ],
+  'civicrm_mail_settings' => [
+    'is_default' => "DEFAULT 0 COMMENT 'whether this is the default set of settings for this domain'",
+    'is_ssl' => "DEFAULT 1 COMMENT 'whether to use SSL or not'",
+    'is_non_case_email_skipped' => "DEFAULT 0 COMMENT 'Enabling this option will have CiviCRM skip any emails that do not have the Case ID or Case Hash so that the system will only process emails that can be placed on case records. Any emails that are not processed will be moved to the ignored folder.'",
+    'is_contact_creation_disabled_if_no_match' => "DEFAULT 0",
+  ],
+  'civicrm_menu' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this menu item active?'",
+    'is_public' => "DEFAULT 1 COMMENT 'Is this menu accessible to the public?'",
+    'is_exposed' => "DEFAULT 1 COMMENT 'Is this menu exposed to the navigation system?'",
+    'is_ssl' => "DEFAULT 1 COMMENT 'Should this menu be exposed via SSL if enabled?'",
+    'skipBreadcrumb' => "DEFAULT 0 COMMENT 'skip this url being exposed to breadcrumb'",
+  ],
+  'civicrm_msg_template' => [
+    'is_active' => "DEFAULT 1",
+    'is_default' => "DEFAULT 1 COMMENT 'is this the default message template for the workflow referenced by workflow_id?'",
+    'is_reserved' => "DEFAULT 0 COMMENT 'is this the reserved message template which we ship for the workflow referenced by workflow_id?'",
+    'is_sms' => "DEFAULT 0 COMMENT 'Is this message template used for sms?'",
+  ],
+  'civicrm_prevnext_cache' => [
+    'is_selected' => "DEFAULT 0",
+  ],
+  'civicrm_phone' => [
+    'is_primary' => "DEFAULT 0 COMMENT 'Is this the primary phone for this contact and location.'",
+    'is_billing' => "DEFAULT 0 COMMENT 'Is this the billing?'",
+  ],
+  'civicrm_state_province' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this StateProvince active?'",
+  ],
+  'civicrm_tag' => [
+    'is_selectable' => "DEFAULT 1 COMMENT 'Is this tag selectable / displayed'",
+    'is_reserved' => "DEFAULT 0",
+    'is_tagset' => "DEFAULT 0",
+  ],
+  'civicrm_openid' => [
+    'is_primary' => "DEFAULT 0 COMMENT 'Is this the primary email for this contact and location.'",
+  ],
+  'civicrm_setting' => [
+    'is_domain' => "DEFAULT 0 COMMENT 'Is this setting a contact specific or site wide setting?'",
+  ],
+  'civicrm_print_label' => [
+    'is_default' => "DEFAULT 1 COMMENT 'Is this default?'",
+    'is_active' => "DEFAULT 1 COMMENT 'Is this option active?'",
+    'is_reserved' => "DEFAULT 1 COMMENT 'Is this reserved label?'",
+  ],
+  'civicrm_word_replacement' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this entry active?'",
+  ],
+  'civicrm_status_pref' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this status check active?'",
+  ],
+  'civicrm_uf_group' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this form currently active? If false, hide all related fields for all sharing contexts.'",
+    'add_captcha' => "DEFAULT 0 COMMENT 'Should a CAPTCHA widget be included this Profile form.'",
+    'is_map' => "DEFAULT 0 COMMENT 'Do we want to map results from this profile.'",
+    'is_edit_link' => "DEFAULT 0 COMMENT 'Should edit link display in profile selector'",
+    'is_uf_link' => "DEFAULT 0 COMMENT 'Should we display a link to the website profile in profile selector'",
+    'is_update_dupe' => "DEFAULT 0 COMMENT 'Should we update the contact record if we find a duplicate'",
+    'is_cms_user' => "DEFAULT 0 COMMENT 'Should we create a cms user for this profile '",
+    'is_reserved' => "DEFAULT 0 COMMENT 'Is this group reserved for use by some other CiviCRM functionality?'",
+    'is_proximity_search' => "DEFAULT 0 COMMENT 'Should we include proximity search feature in this profile search form?'",
+    'add_cancel_button' => "DEFAULT 1 COMMENT 'Should a Cancel button be included in this Profile form.'",
+  ],
+  'civicrm_uf_field' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this field currently shareable? If false, hide the field for all sharing contexts.'",
+    'is_view' => "DEFAULT 0 COMMENT 'the field is view only and not editable in user forms.'",
+    'is_required' => "DEFAULT 0 COMMENT 'Is this field required when included in a user or registration form?'",
+    'in_selector' => "DEFAULT 0 COMMENT 'Is this field included as a column in the selector table?'",
+    'is_searchable' => "DEFAULT 0 COMMENT 'Is this field included search form of profile?'",
+    'is_reserved' => "DEFAULT 0 COMMENT 'Is this field reserved for use by some other CiviCRM functionality?'",
+    'is_multi_summary' => "DEFAULT 0 COMMENT 'Include in multi-record listing?'",
+  ],
+  'civicrm_uf_join' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this join currently active?'",
+  ],
+];
index 5b948eed57bf0b40361e7e54681ade89f518b55e..7070ca638c68149b04acb9093fdf8f0992551ed2 100644 (file)
@@ -88,6 +88,7 @@
     <title>Error?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Was there any error sending the reminder?</comment>
     <add>3.4</add>
   </field>
index 532d6dbc611f4e022e95bfc8b5ca28d5ea1c636e..8ea04d1b7a9075a9a0b99e3be98ce31624b2c00f 100644 (file)
@@ -53,6 +53,8 @@
     <html>
       <label>Limit To</label>
     </html>
+    <default>1</default>
+    <required>true</required>
     <add>4.4</add>
   </field>
   <field>
     <title>Repeat?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <add>3.4</add>
   </field>
   <field>
     <title>Schedule is Active?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this option active?</comment>
     <add>3.4</add>
   </field>
     <name>record_activity</name>
     <title>Record Activity for Reminder?</title>
     <type>boolean</type>
-    <default>NULL</default>
+    <default>0</default>
+    <required>true</required>
     <comment>Record Activity for this reminder?</comment>
     <add>3.4</add>
   </field>
index 1ee08b9816cd55ba566e3242f7470ace134de4c9..018390e5065c622f10c27247d8dfd82dec7a001b 100644 (file)
@@ -67,6 +67,7 @@
     <title>Primary address</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the primary address.</comment>
     <add>2.0</add>
     <html>
@@ -83,6 +84,7 @@
     <title>Is Billing Address</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the billing address.</comment>
     <add>2.0</add>
     <html>
     <title>Is Manually Geocoded</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this a manually entered geo code</comment>
     <add>4.3</add>
     <html>
index 546759fa250c42f8235b640c19e60dd5f7644ed8..639ac54baf09ad79c7e8ae1432a4bef78dc9fc1b 100644 (file)
     <title>Abbreviate Province?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should state/province be displayed as abbreviation for contacts from this country?</comment>
     <add>3.1</add>
   </field>
     <title>Country Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this Country active?</comment>
     <add>5.35</add>
   </field>
index 47a28a22ad9d2dc9a22616c6907e25e2c8c61142..21ec83e4fd3a665487547d976d2a750cf5315448 100644 (file)
@@ -68,6 +68,7 @@
     <title>County Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this County active?</comment>
     <add>5.35</add>
   </field>
index da1ba6fc0d72892bc8d05956474a638043564b34..40de350dcabd87208288d17c40c79a399c3cc24c 100644 (file)
     <type>boolean</type>
     <comment>Is a value required for this property.</comment>
     <default>0</default>
+    <required>true</required>
     <add>1.1</add>
   </field>
   <field>
     <type>boolean</type>
     <comment>Is this property searchable.</comment>
     <default>0</default>
+    <required>true</required>
     <add>1.1</add>
   </field>
   <field>
     <comment>Is this property range searchable.</comment>
     <add>1.4</add>
     <default>0</default>
+    <required>true</required>
   </field>
   <field>
     <name>weight</name>
     <title>Custom Field Is Active?</title>
     <comment>Is this property active?</comment>
     <default>1</default>
+    <default>0</default>
     <add>1.1</add>
   </field>
   <field>
     <type>boolean</type>
     <title>Field is Viewable</title>
     <default>0</default>
+    <required>true</required>
     <comment>Is this property set by PHP Code? A code field is viewable but not editable</comment>
     <add>1.1</add>
   </field>
     <type>boolean</type>
     <title>Field Display</title>
     <default>0</default>
+    <required>true</required>
     <comment>Should the multi-record custom field values be displayed in tab table listing</comment>
     <add>4.5</add>
   </field>
index cd38ce06701141465999b2cc3423f601a66cba80..7f644b54ab97d97589b733fcccaa839a304e4bb7 100644 (file)
     <type>boolean</type>
     <title>Collapse Custom Group?</title>
     <default>0</default>
+    <required>true</required>
     <comment>Will this group be in collapsed or expanded mode on initial display ?</comment>
     <add>1.1</add>
   </field>
     <title>Custom Group Is Active?</title>
     <comment>Is this property active?</comment>
     <default>1</default>
+    <required>true</required>
     <add>1.1</add>
   </field>
   <field>
     <title>Supports Multiple Records</title>
     <comment>Does this group hold multiple values?</comment>
     <default>0</default>
+    <required>true</required>
     <add>2.0</add>
   </field>
   <field>
     <type>boolean</type>
     <title>Collapse Group Display</title>
     <default>0</default>
+    <required>true</required>
     <comment>Will this group be in collapsed or expanded mode on advanced search display ?</comment>
     <add>3.0</add>
   </field>
     <type>boolean</type>
     <title>Reserved Group?</title>
     <default>0</default>
+    <required>true</required>
     <comment>Is this a reserved Custom Group?</comment>
     <add>4.4</add>
   </field>
     <type>boolean</type>
     <title>Custom Group Is Public?</title>
     <default>1</default>
+    <required>true</required>
     <comment>Is this property public?</comment>
     <add>4.7</add>
   </field>
index b68fe09b897e5d69838738203eed516dad167036..15effae4333a461c334bb29327a3b56022eb8ddd 100644 (file)
@@ -94,6 +94,7 @@
     <title>Dashlet Column</title>
     <comment>column no for this dashlet</comment>
     <default>0</default>
+    <required>true</required>
     <add>3.1</add>
     <drop>4.7</drop>
   </field>
     <title>Minimize Dashlet?</title>
     <comment>Is Minimized?</comment>
     <default>0</default>
+    <required>true</required>
     <add>3.1</add>
     <drop>4.7</drop>
   </field>
     <title>Is Fullscreen?</title>
     <comment>Is Fullscreen?</comment>
     <default>1</default>
+    <required>true</required>
     <add>3.1</add>
     <drop>4.7</drop>
   </field>
     <title>Is Dashlet Active?</title>
     <comment>Is this dashlet active?</comment>
     <default>0</default>
+    <required>true</required>
     <add>3.1</add>
   </field>
   <field>
     <title>Is Dashlet Reserved?</title>
     <comment>Is this dashlet reserved?</comment>
     <default>0</default>
+    <required>true</required>
     <add>3.1</add>
   </field>
   <field>
index ddb0678f61fdf16c73750f15b34cdff2a4dae364..7f01e31fc72966501aa96a1347163f59f9f8741f 100644 (file)
@@ -87,6 +87,7 @@
     <title>Primary email</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the primary email address</comment>
     <add>1.1</add>
     <html>
     <title>Is Billing Email?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the billing?</comment>
     <add>2.0</add>
   </field>
index c37999b9c78055b928fcbdabca908c66cbf0a0f8..348e34eb25f95cf519c4a1fb927a37e65489eeaa 100644 (file)
     <title>Primary IM</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <html>
       <type>Radio</type>
     </html>
     <title>Is IM Billing?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the billing?</comment>
     <add>2.0</add>
   </field>
index ba8ab0bf473779f5cdb2ddebec4a03eaf33048a7..33847742c8fe861775652a5a8e35896d9d0a3839 100644 (file)
     <title>Job Is Active?</title>
     <type>boolean</type>
     <comment>Is this job active?</comment>
+    <default>1</default>
+    <required>true</required>
     <add>4.1</add>
   </field>
 </table>
index 0ce70437f7b2ab6a8bd0c96d3dfd92112899c72a..38833d69d7fb0a3673f3a0a7a594bcc959fc4870 100644 (file)
@@ -54,6 +54,8 @@
     <name>is_default</name>
     <title>Is Default Mail Settings?</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>whether this is the default set of settings for this domain</comment>
     <add>2.2</add>
   </field>
     <name>is_ssl</name>
     <title>Mail Account Uses SSL</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>whether to use SSL or not</comment>
     <add>2.2</add>
   </field>
     <title>Skip emails which do not have a Case ID or Case hash</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <html>
       <type>CheckBox</type>
     </html>
     <type>boolean</type>
     <title>Do not create new contacts when filing emails</title>
     <default>0</default>
+    <required>true</required>
     <html>
       <type>CheckBox</type>
     </html>
index 3dbb0447ee6c3d5ee9ce4684f30ffd3cd0fd9905..8b734010d7d2ff7b9540c0a9908a580aa3825ed1 100644 (file)
     <name>is_active</name>
     <title>Enabled?</title>
     <type>boolean</type>
+    <default>1</default>
+    <required>true</required>
     <comment>Is this menu item active?</comment>
     <add>2.1</add>
   </field>
     <name>is_public</name>
     <title>Public?</title>
     <type>boolean</type>
+    <default>1</default>
+    <required>true</required>
     <comment>Is this menu accessible to the public?</comment>
     <add>2.1</add>
   </field>
     <name>is_exposed</name>
     <title>Exposed?</title>
     <type>boolean</type>
+    <default>1</default>
+    <required>true</required>
     <comment>Is this menu exposed to the navigation system?</comment>
     <add>2.1</add>
   </field>
     <name>is_ssl</name>
     <title>Use SSL?</title>
     <type>boolean</type>
+    <default>1</default>
+    <required>true</required>
     <comment>Should this menu be exposed via SSL if enabled?</comment>
     <add>2.1</add>
   </field>
     <name>skipBreadcrumb</name>
     <title>Hide Breadcrumb?</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>skip this url being exposed to breadcrumb</comment>
     <add>2.2</add>
   </field>
index c912a6abb0e393ff8dc830aee385000b9c03db3c..f16bda1e57f59e7761d6f2644a95f1d8da2bb3ad 100644 (file)
@@ -68,6 +68,7 @@
     <title>Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <add>1.6</add>
   </field>
   <field>
@@ -89,6 +90,7 @@
     <title>Message Template Is Default?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>is this the default message template for the workflow referenced by workflow_id?</comment>
     <add>3.1</add>
   </field>
@@ -97,6 +99,7 @@
     <title>Message Template Is Reserved?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>is this the reserved message template which we ship for the workflow referenced by workflow_id?</comment>
     <add>3.1</add>
   </field>
     <title>Message Template is used for SMS?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this message template used for sms?</comment>
     <add>4.5</add>
   </field>
index 571b006aed90d161c4a650e536990a1944b145c8..efc30536ab4cde46c8513499c06901d4b86d6cfa 100644 (file)
@@ -87,6 +87,7 @@
     <title>Primary ID</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <html>
       <type>Radio</type>
     </html>
index 36c64076429b1381a1f91a3ca5e116f0bd489bc1..bd02b88a1e9491f6e7448232acfcfcccad93c6f0 100644 (file)
@@ -81,8 +81,8 @@
     <name>is_locked</name>
     <title>Option Group Is Locked</title>
     <default>0</default>
-    <required>true</required>
     <type>boolean</type>
+    <required>true</required>
     <comment>A lock to remove the ability to add new options via the UI.</comment>
     <add>4.5</add>
   </field>
index cb9f4e8e6d2c4df2da210c1ad8b5af35e5a7aea6..343f86f1b3fe9fbbd45c1f446dd909adf67065c5 100644 (file)
@@ -67,6 +67,7 @@
     <title>Primary phone</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <html>
       <type>Radio</type>
     </html>
@@ -83,6 +84,7 @@
     <title>Is Billing Phone</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this the billing?</comment>
     <add>2.0</add>
   </field>
index 9eea75ff34a6816004acf383c14136fc924abbb0..295f53a8e2b7218c1b81848c0a3526a4b89296ac 100644 (file)
@@ -65,6 +65,7 @@
     <title>Is Selected</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <add>4.2</add>
   </field>
   <index>
index a611548ecbc39ea8d8fb001634429bbe80b65538..019c151c941b7132437e514fadab50ddf25a9ff4 100644 (file)
@@ -87,6 +87,7 @@
     <title>Label is Default?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this default?</comment>
     <add>4.4</add>
   </field>
@@ -95,6 +96,7 @@
     <title>Label Is Active?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this option active?</comment>
     <add>4.4</add>
   </field>
     <title>Is Label Reserved?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this reserved label?</comment>
     <add>4.4</add>
   </field>
index 86f6f8080871f409afbc809706ae552a44ce7ccb..f8a948c60a6fdb7a115e13716ffe5047d7eb49ac 100644 (file)
@@ -51,6 +51,7 @@
       <name>mode</name>
       <type>boolean</type>
       <default>1</default>
+      <required>true</required>
       <title>Cascade Type</title>
       <required>true</required>
       <comment>1-this entity, 2-this and the following entities, 3-all the entities</comment>
index b7a61b0acfee21b4bfc0faa678d359a64b001e86..203977af5d540c336871526d35a10556132c632a 100644 (file)
@@ -99,6 +99,8 @@
     <name>is_domain</name>
     <title>Is Domain Setting?</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>Is this setting a contact specific or site wide setting?</comment>
     <add>4.1</add>
   </field>
index 3e3cd60a7493658b86937e7b29904375e2e4635e..ed61350f75994b950c2cc17787b8454997ec5f43 100644 (file)
@@ -64,6 +64,7 @@
     <title>StateProvince Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this StateProvince active?</comment>
     <add>5.35</add>
   </field>
index 464a581475bdae03aece12cdfc3de84a1a1cc7b5..e30ba01e649a90fee1f0ef5349e51eae54e9fd85 100644 (file)
     <title>Check Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this status check active?</comment>
     <add>5.19</add>
   </field>
index 6575eb566ac3b258a3bc2c487b97daefa0897e63..3d875d5346ed140be071bcdfcb912f2a69a2537e 100644 (file)
@@ -62,6 +62,7 @@
     <title>Display Tag?</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this tag selectable / displayed</comment>
     <add>2.1</add>
   </field>
@@ -82,6 +83,7 @@
     <title>Reserved</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <add>3.2</add>
   </field>
   <field>
@@ -89,6 +91,7 @@
     <title>Tagset</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <add>3.2</add>
   </field>
   <field>
index fde4410c2d799b3b9fd8eee1b1acb2245d893dfe..0a2aa118ee5d17b3fb651b2cd1b9ff59a0db9269 100644 (file)
@@ -63,6 +63,7 @@
     <title>Profile Field Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this field currently shareable? If false, hide the field for all sharing contexts.</comment>
     <add>1.1</add>
   </field>
@@ -71,6 +72,7 @@
     <title>Profile Is View Only</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>the field is view only and not editable in user forms.</comment>
     <add>1.1</add>
   </field>
@@ -79,6 +81,7 @@
     <title>Profile Field Is Required</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this field required when included in a user or registration form?</comment>
     <add>1.1</add>
   </field>
     <title>Profile Field Is a Filter</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this field included as a column in the selector table?</comment>
     <add>1.2</add>
   </field>
     <title>Profile Field Is Searchable</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Is this field included search form of profile?</comment>
     <add>1.4</add>
   </field>
     <name>is_reserved</name>
     <title>Profile Field Is Reserved</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>Is this field reserved for use by some other CiviCRM functionality?</comment>
     <add>3.0</add>
   </field>
     <title>Profile Field Supports Multiple</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Include in multi-record listing?</comment>
     <add>4.3</add>
   </field>
index 49fdad55a3f38993b9668929978c14f96a049b4f..26f1075fa7da4bf0888fa86341bb80f2c495414a 100644 (file)
@@ -27,6 +27,7 @@
     <title>Profile Is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this form currently active? If false, hide all related fields for all sharing contexts.</comment>
     <add>1.1</add>
   </field>
     <title>Show Captcha On Profile</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should a CAPTCHA widget be included this Profile form.</comment>
     <add>1.1</add>
   </field>
     <title>Map Profile</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Do we want to map results from this profile.</comment>
     <add>1.5</add>
   </field>
     <title>Show Edit Link?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should edit link display in profile selector</comment>
     <add>1.6</add>
   </field>
     <title>Show Link to CMS User</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should we display a link to the website profile in profile selector</comment>
     <add>1.7</add>
   </field>
     <title>Update on Duplicate</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should we update the contact record if we find a duplicate</comment>
     <add>1.7</add>
   </field>
     <title>Create CMS User?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should we create a cms user for this profile </comment>
     <add>1.8</add>
   </field>
     <name>is_reserved</name>
     <title>Profile Is Reserved</title>
     <type>boolean</type>
+    <default>0</default>
+    <required>true</required>
     <comment>Is this group reserved for use by some other CiviCRM functionality?</comment>
     <add>3.0</add>
   </field>
     <title>Include Proximity Search?</title>
     <type>boolean</type>
     <default>0</default>
+    <required>true</required>
     <comment>Should we include proximity search feature in this profile search form?</comment>
     <add>3.2</add>
   </field>
     <title>Include Cancel Button</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Should a Cancel button be included in this Profile form.</comment>
     <add>5.0</add>
   </field>
index db81d0dcee8a2819bd7c4ff529b7c8f14053248e..8470e3b080b2b18fa3f3d71fc93313da34e44705 100644 (file)
@@ -27,6 +27,7 @@
     <title>Profile Use is active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this join currently active?</comment>
     <add>1.3</add>
   </field>
index fb18789c6c6209e60c45199ff0b17aeb8c56d052..ad0400f79a1873e038742f6b39a479d2c24b87cc 100644 (file)
@@ -44,6 +44,7 @@
     <title>Word Replacement is Active</title>
     <type>boolean</type>
     <default>1</default>
+    <required>true</required>
     <comment>Is this entry active?</comment>
     <add>4.4</add>
   </field>