function imagecrop_update_7003 in Image javascript crop 7
Make the imagecrop fields BIGINT.
File
- ./
imagecrop.install, line 159 - Install / Uninstall file for Imagecrop.
Code
function imagecrop_update_7003() {
$properties = array(
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
'size' => 'big',
);
db_change_field('image_crop_settings', 'xoffset', 'xoffset', $properties);
db_change_field('image_crop_settings', 'yoffset', 'yoffset', $properties);
db_change_field('image_crop_settings', 'width', 'width', $properties);
db_change_field('image_crop_settings', 'height', 'height', $properties);
}