You are here

function imagecrop_update_7002 in Image javascript crop 7

Add the rotation column to the image_crop_settings table.

File

./imagecrop.install, line 147
Install / Uninstall file for Imagecrop.

Code

function imagecrop_update_7002() {
  $field_info = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'unsigned' => TRUE,
  );

  // Use style name as identifier.
  db_add_field('image_crop_settings', 'rotation', $field_info);
}