*
* Generated from xml/schema/CRM/Core/CustomField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:750b48519edde8bbaa9012408bd8ba40)
+ * (GenCodeChecksum:c3376c499386c62d1a00eaa6e18d0874)
*/
/**
*/
public $attributes;
- /**
- * Optional scripting attributes for field.
- *
- * @var string|null
- * (SQL type: varchar(255))
- * Note that values will be retrieved from the database as a string.
- */
- public $javascript;
-
/**
* Is this property active?
*
'localizable' => 0,
'add' => '1.1',
],
- 'javascript' => [
- 'name' => 'javascript',
- 'type' => CRM_Utils_Type::T_STRING,
- 'title' => ts('Custom Field Javascript'),
- 'description' => ts('Optional scripting attributes for field.'),
- 'maxlength' => 255,
- 'size' => CRM_Utils_Type::HUGE,
- 'usage' => [
- 'import' => FALSE,
- 'export' => FALSE,
- 'duplicate_matching' => FALSE,
- 'token' => FALSE,
- ],
- 'where' => 'civicrm_custom_field.javascript',
- 'table_name' => 'civicrm_custom_field',
- 'entity' => 'CustomField',
- 'bao' => 'CRM_Core_BAO_CustomField',
- 'localizable' => 0,
- 'add' => '1.1',
- ],
'is_active' => [
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
$this->addTask('Make PaymentProcessor.title required', 'alterColumn', 'civicrm_payment_processor', 'title', "varchar(255) NOT NULL COMMENT 'Name of processor when shown to CiviCRM administrators.'", TRUE);
$this->addTask('Make PaymentProcessor.frontend_title required', 'alterColumn', 'civicrm_payment_processor', 'frontend_title', "varchar(255) NOT NULL COMMENT 'Name of processor when shown to users making a payment.'", TRUE);
+ // Drop unused column
+ $this->addTask('Drop column civicrm_custom_field.javascript', 'dropColumn', 'civicrm_custom_field', 'javascript');
+
$this->addTask(ts('Dedupe cache table'), 'dedupeCache');
$this->addTask(ts('Drop index %1', [1 => 'civicrm_cache.UI_group_path_date']), 'dropIndex', 'civicrm_cache', 'UI_group_path_date');
$this->addTask(ts('Create index %1', [1 => 'civicrm_cache.UI_group_name_path']), 'addIndex', 'civicrm_cache', [['group_name', 'path']], 'UI');
<type>varchar</type>
<title>Custom Field Formatting</title>
<length>64</length>
- <comment>Optional format instructions for specific field types, like date types.</comment>
+ <comment>Unused</comment>
<add>1.1</add>
<drop>5.59</drop>
</field>
<type>varchar</type>
<title>Custom Field Javascript</title>
<length>255</length>
- <comment>Optional scripting attributes for field.</comment>
+ <comment>Unused</comment>
<add>1.1</add>
+ <drop>5.61</drop>
</field>
<field>
<name>is_active</name>