Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
17b78b71
Unverified
Commit
17b78b71
authored
2 years ago
by
DaveD
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #24718 from yashodha/dev-3905
(
#3905
) Need to increase data size for 'data' column on 'civi…
parents
1b878aa9
4942c689
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CRM/Core/DAO/JobLog.php
+2
-2
2 additions, 2 deletions
CRM/Core/DAO/JobLog.php
CRM/Upgrade/Incremental/sql/5.56.alpha1.mysql.tpl
+3
-0
3 additions, 0 deletions
CRM/Upgrade/Incremental/sql/5.56.alpha1.mysql.tpl
xml/schema/Core/JobLog.xml
+1
-1
1 addition, 1 deletion
xml/schema/Core/JobLog.xml
with
6 additions
and
3 deletions
CRM/Core/DAO/JobLog.php
+
2
−
2
View file @
17b78b71
...
...
@@ -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:
long
text)
* 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_
LONG
TEXT
,
'title'
=>
ts
(
'Extended Data'
),
'description'
=>
ts
(
'Potential extended data for specific job run (e.g. tracebacks).'
),
'where'
=>
'civicrm_job_log.data'
,
...
...
This diff is collapsed.
Click to expand it.
CRM/Upgrade/Incremental/sql/5.56.alpha1.mysql.tpl
+
3
−
0
View file @
17b78b71
{* 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
...
...
This diff is collapsed.
Click to expand it.
xml/schema/Core/JobLog.xml
+
1
−
1
View file @
17b78b71
...
...
@@ -85,7 +85,7 @@
<field>
<name>
data
</name>
<title>
Extended Data
</title>
<type>
text
</type>
<type>
long
text
</type>
<comment>
Potential extended data for specific job run (e.g. tracebacks).
</comment>
<add>
4.1
</add>
</field>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment