Skip to content
Snippets Groups Projects
Commit 32969628 authored by Chris Leppanen's avatar Chris Leppanen
Browse files

Issue #712304 by derhasi, twistor, jerdavis, alex_b, rjbrown99, rbayliss |...

Issue #712304 by derhasi, twistor, jerdavis, alex_b, rjbrown99, rbayliss | ManyNancy: Fixed Batch import does not continue where it left off, instead starts from the beginning.
parent cc2d2ecc
No related branches found
No related tags found
No related merge requests found
......@@ -70,14 +70,14 @@ function feeds_schema() {
'description' => 'Main source resource identifier. E. g. a path or a URL.',
),
'state' => array(
'type' => 'text',
'type' => 'blob',
'size' => 'big',
'not null' => FALSE,
'description' => 'State of import or clearing batches.',
'serialize' => TRUE,
),
'fetcher_result' => array(
'type' => 'text',
'type' => 'blob',
'size' => 'big',
'not null' => FALSE,
'description' => 'Cache for fetcher result.',
......@@ -517,3 +517,24 @@ function feeds_update_7205() {
db_add_index('feeds_item', 'global_lookup_url', array('entity_type', array('url', 128)));
db_add_index('feeds_item', 'global_lookup_guid', array('entity_type', array('guid', 128)));
}
/**
* Change state and fetcher_result fields from text to blob.
*/
function feeds_update_7206() {
db_change_field('feeds_source', 'state', 'state', array(
'type' => 'blob',
'size' => 'big',
'not null' => FALSE,
'description' => 'State of import or clearing batches.',
'serialize' => TRUE,
));
db_change_field('feeds_source', 'fetcher_result', 'fetcher_result', array(
'type' => 'blob',
'size' => 'big',
'not null' => FALSE,
'description' => 'Cache for fetcher result.',
'serialize' => TRUE,
));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment