Skip to content
Snippets Groups Projects
Unverified Commit 17b78b71 authored by DaveD's avatar DaveD Committed by GitHub
Browse files

Merge pull request #24718 from yashodha/dev-3905

(#3905) Need to increase data size for 'data' column on 'civi…
parents 1b878aa9 4942c689
Branches
Tags
No related merge requests found
......@@ -97,7 +97,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
* Potential extended data for specific job run (e.g. tracebacks).
*
* @var string|null
* (SQL type: text)
* (SQL type: longtext)
* Note that values will be retrieved from the database as a string.
*/
public $data;
......@@ -250,7 +250,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
],
'data' => [
'name' => 'data',
'type' => CRM_Utils_Type::T_TEXT,
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Extended Data'),
'description' => ts('Potential extended data for specific job run (e.g. tracebacks).'),
'where' => 'civicrm_job_log.data',
......
{* file to handle db changes in 5.56.alpha1 during upgrade *}
-- dev/core#3905 Update data type for data to LONGTEXT
ALTER TABLE civicrm_job_log MODIFY COLUMN data LONGTEXT COMMENT 'Potential extended data for specific job run (e.g. tracebacks).';
-- Add in missing indian states as per iso-3166-2
SELECT @indianCountryID := id FROM civicrm_country WHERE name = 'India' AND iso_code = 'IN';
INSERT INTO civicrm_state_province (country_id, abbreviation, name) VALUES
......
......@@ -85,7 +85,7 @@
<field>
<name>data</name>
<title>Extended Data</title>
<type>text</type>
<type>longtext</type>
<comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
<add>4.1</add>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment