Schema - Fix boolean fields in various tables
[civicrm-core.git] / CRM / Event / DAO / Participant.php
index 6a4624cf812000b96df858bba0f9d806e4f58345..bc2325233220f14095f917e0287726c32fc80a3d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Event/Participant.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:62382336b5251b2ee93828d70138cd7e)
+ * (GenCodeChecksum:9d1b4abcd8bb1106b31c610026aed0d5)
  */
 
 /**
@@ -112,14 +112,14 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
   public $fee_level;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
   public $is_test;
 
   /**
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -437,6 +437,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'is_test',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Test'),
+          'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.is_test',
           'export' => TRUE,
@@ -451,6 +452,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO {
           'name' => 'is_pay_later',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Pay Later'),
+          'required' => TRUE,
           'import' => TRUE,
           'where' => 'civicrm_participant.is_pay_later',
           'headerPattern' => '/(is.)?(pay(.)?later)$/i',