*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9255efc8fc0b791899a006e23eb55341)
+ * (GenCodeChecksum:cc7bc9034e7487e1913aa45fc4c119b8)
*/
/**
public $status_id;
/**
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
'name' => 'is_deleted',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case is in the Trash'),
+ 'required' => TRUE,
'import' => TRUE,
'where' => 'civicrm_case.is_deleted',
'export' => TRUE,
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1102802dc49a9899f93c16fce57fa141)
+ * (GenCodeChecksum:7b3029a4b42f22a060fadb39b7b2c678)
*/
/**
/**
* Is this case type enabled?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
/**
* Is this case type a predefined system type?
*
- * @var bool|string|null
+ * @var bool|string
* (SQL type: tinyint)
* Note that values will be retrieved from the database as a string.
*/
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Active'),
'description' => ts('Is this case type enabled?'),
+ 'required' => TRUE,
'where' => 'civicrm_case_type.is_active',
'default' => '1',
'table_name' => 'civicrm_case_type',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Case Type Is Reserved'),
'description' => ts('Is this case type a predefined system type?'),
+ 'required' => TRUE,
'where' => 'civicrm_case_type.is_reserved',
+ 'default' => '0',
'table_name' => 'civicrm_case_type',
'entity' => 'CaseType',
'bao' => 'CRM_Case_BAO_CaseType',
--- /dev/null
+<?php
+return [
+ 'civicrm_case' => [
+ 'is_deleted' => "DEFAULT 0",
+ ],
+ 'civicrm_case_type' => [
+ 'is_active' => "DEFAULT 1 COMMENT 'Is this case type enabled?'",
+ 'is_reserved' => "DEFAULT 0 COMMENT 'Is this case type a predefined system type?'",
+ ],
+];
<type>boolean</type>
<comment>Is this case type enabled?</comment>
<default>1</default>
+ <required>true</required>
<add>4.5</add>
</field>
<field>
<name>is_reserved</name>
<title>Case Type Is Reserved</title>
<type>boolean</type>
+ <default>0</default>
+ <required>true</required>
<comment>Is this case type a predefined system type?</comment>
<add>4.5</add>
</field>