Skip to content
Snippets Groups Projects
Commit 69422425 authored by Angie Byron's avatar Angie Byron
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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
}
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