Schema - Fix boolean fields in various tables
[civicrm-core.git] / CRM / Financial / DAO / PaymentProcessor.php
index 82622f2b69949139c6664068120a4392170a5ccd..7210013c8c1813b9996841aaa1c1a136484c9df3 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Financial/PaymentProcessor.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:7d4681a9b748c272c9da9807af6e4809)
+ * (GenCodeChecksum:7f1fd3e55d2b10ce458a9503349f9e61)
  */
 
 /**
@@ -86,7 +86,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
   /**
    * Is this processor active?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -95,7 +95,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
   /**
    * Is this processor the default?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -104,7 +104,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
   /**
    * Is this processor for a test site?
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -185,7 +185,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
   /**
    * Can process recurring contributions
    *
-   * @var bool|string|null
+   * @var bool|string
    *   (SQL type: tinyint)
    *   Note that values will be retrieved from the database as a string.
    */
@@ -376,6 +376,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Processor is Active?'),
           'description' => ts('Is this processor active?'),
+          'required' => TRUE,
           'where' => 'civicrm_payment_processor.is_active',
           'default' => '1',
           'table_name' => 'civicrm_payment_processor',
@@ -389,6 +390,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Processor Is Default?'),
           'description' => ts('Is this processor the default?'),
+          'required' => TRUE,
           'where' => 'civicrm_payment_processor.is_default',
           'default' => '0',
           'table_name' => 'civicrm_payment_processor',
@@ -402,6 +404,7 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Test Processor?'),
           'description' => ts('Is this processor for a test site?'),
+          'required' => TRUE,
           'where' => 'civicrm_payment_processor.is_test',
           'default' => '0',
           'table_name' => 'civicrm_payment_processor',
@@ -569,7 +572,9 @@ class CRM_Financial_DAO_PaymentProcessor extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Processor Supports Recurring?'),
           'description' => ts('Can process recurring contributions'),
+          'required' => TRUE,
           'where' => 'civicrm_payment_processor.is_recur',
+          'default' => '0',
           'table_name' => 'civicrm_payment_processor',
           'entity' => 'PaymentProcessor',
           'bao' => 'CRM_Financial_BAO_PaymentProcessor',