function image_field_caption_update_7203 in Image Field Caption 7.2
Make the revision caption field non mandatory
File
- ./
image_field_caption.install, line 396 - Image field caption defines a new database schema for adding a caption to images.
Code
function image_field_caption_update_7203() {
$caption_field_revision = array(
'description' => 'The caption text.',
'type' => 'text',
'not null' => FALSE,
);
db_change_field('field_image_field_caption_revision', 'caption', 'caption', $caption_field_revision);
}