From b74d5e0c366932e9b4f122f4b7dfca81472458ee Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Fri, 9 Dec 2022 12:39:48 +0000 Subject: [PATCH] regen --- CRM/Core/DAO/OptionGroup.php | 8 +++----- CRM/Core/I18n/SchemaStructure.php | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CRM/Core/DAO/OptionGroup.php b/CRM/Core/DAO/OptionGroup.php index cb480b03e4..0b6a0d2de7 100644 --- a/CRM/Core/DAO/OptionGroup.php +++ b/CRM/Core/DAO/OptionGroup.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OptionGroup.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:2ccb4ad1de88c89bdefe80c674d2bc67) + * (GenCodeChecksum:6d1ca6dc8aa693e7b26bb19b731b0b55) */ /** @@ -68,7 +68,7 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { * Option group description. * * @var string|null - * (SQL type: varchar(255)) + * (SQL type: text) * Note that values will be retrieved from the database as a string. */ public $description; @@ -192,11 +192,9 @@ class CRM_Core_DAO_OptionGroup extends CRM_Core_DAO { ], 'description' => [ 'name' => 'description', - 'type' => CRM_Utils_Type::T_STRING, + 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Option Group Description'), 'description' => ts('Option group description.'), - 'maxlength' => 255, - 'size' => CRM_Utils_Type::HUGE, 'where' => 'civicrm_option_group.description', 'table_name' => 'civicrm_option_group', 'entity' => 'OptionGroup', diff --git a/CRM/Core/I18n/SchemaStructure.php b/CRM/Core/I18n/SchemaStructure.php index cf193ca67b..1303857cc0 100644 --- a/CRM/Core/I18n/SchemaStructure.php +++ b/CRM/Core/I18n/SchemaStructure.php @@ -34,7 +34,7 @@ class CRM_Core_I18n_SchemaStructure { ], 'civicrm_option_group' => [ 'title' => "varchar(255) COMMENT 'Option Group title.'", - 'description' => "varchar(255) COMMENT 'Option group description.'", + 'description' => "text COMMENT 'Option group description.'", ], 'civicrm_relationship_type' => [ 'label_a_b' => "varchar(64) COMMENT 'label for relationship of contact_a to contact_b.'", -- 2.25.1