Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase civicrm_queue_item.data field size #20107

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Increase civicrm_queue_item.data field size #20107

merged 2 commits into from
Apr 21, 2021

Conversation

omarabuhussein
Copy link
Member

Overview

civicrm_queue_item.data field holds information about the task in the job queue that is going to be executed. But if we are using queues to import large data (as we might do in an extension such as (nz.co.fuzion.csvimport) then the current field type might not be able to handle the data size. So here I am changing it from TEXT to LONGTEXT to
accommodate for such cases.

Before

The data type for the data column on the civicrm_queue_item is TEXT

After

The data type for the data column on the civicrm_queue_item is LONGTEXT

civicrm_queue_item.data field holds information about the task in the
job queue that is going to be excuted. But if we are using queues to
import large data (as we might do in an extension such as
nz.co.fuzion.csvimport) then the current field type might not be able to
handle the data size. So here I am changing it from TEXT to LONGTEXT to
accomdate for such cases.
@civibot
Copy link

civibot bot commented Apr 20, 2021

(Standard links)

@totten
Copy link
Member

totten commented Apr 21, 2021

Looks like a good idea. 👍

@seamuslee001
Copy link
Contributor

This looks good to me and I tested the upgrade process and it works merging

@seamuslee001 seamuslee001 merged commit b98c83b into civicrm:master Apr 21, 2021
@omarabuhussein
Copy link
Member Author

thanks @seamuslee001

@omarabuhussein omarabuhussein deleted the update-queue-item-data-field branch April 26, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants