From 8d92818563feefc51ffaf6a1ff137ec89ea64ecb Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 26 May 2020 14:31:16 +1000 Subject: [PATCH] Update DAO and L10n Schema file --- CRM/Core/I18n/SchemaStructure.php | 1 + CRM/Price/DAO/PriceFieldValue.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Core/I18n/SchemaStructure.php b/CRM/Core/I18n/SchemaStructure.php index 2891b58c07..0c7cebdb80 100644 --- a/CRM/Core/I18n/SchemaStructure.php +++ b/CRM/Core/I18n/SchemaStructure.php @@ -585,6 +585,7 @@ class CRM_Core_I18n_SchemaStructure { 'civicrm_price_field_value' => [ 'label' => [ 'type' => "Text", + 'required' => "true", ], 'description' => [ 'type' => "TextArea", diff --git a/CRM/Price/DAO/PriceFieldValue.php b/CRM/Price/DAO/PriceFieldValue.php index 15ab9471e6..058ddf7a6f 100644 --- a/CRM/Price/DAO/PriceFieldValue.php +++ b/CRM/Price/DAO/PriceFieldValue.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/PriceFieldValue.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:a5371a5b399a3e0730bc216886ce5efe) + * (GenCodeChecksum:47c904125e3421dde14b5fcd9b8a6f16) */ /** @@ -217,6 +217,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Name'), 'description' => ts('Price field option name'), + 'required' => TRUE, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'where' => 'civicrm_price_field_value.name', @@ -233,6 +234,7 @@ class CRM_Price_DAO_PriceFieldValue extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Label'), 'description' => ts('Price field option label'), + 'required' => TRUE, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'where' => 'civicrm_price_field_value.label', -- 2.25.1