function commerce_file_install in Commerce File 7.2
Same name and namespace in other branches
- 7 commerce_file.install \commerce_file_install()
Implements hook_install().
File
- ./
commerce_file.install, line 95
Code
function commerce_file_install() {
// Convert the filesize column to a bigint in order to remove the 4GB limit.
$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);
}