Commit 69422425 authored by webchick's avatar webchick
Browse files

Issue #1815886 follow-up by slashrsm: Upgrade path for Drupal core cannot...

Issue #1815886 follow-up by slashrsm: Upgrade path for Drupal core cannot manage files larger than 4 GB
parent 0adcf472
......@@ -340,3 +340,19 @@ function file_update_8003() {
}
}
}
/*
* Convert the 'filesize' column in {file_managed} to a bigint.
*/
function file_update_8004() {
$spec = array(
'description' => 'The size of the file in bytes.',
'type' => 'int',
'size' => 'big',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
);
db_change_field('file_managed', 'filesize', 'filesize', $spec);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment