function flexslider_picture_update_7001 in Picture 7.2
Add the 'fallback' column to the {flexslider_picture_optionset} table.
File
- flexslider_picture/
flexslider_picture.install, line 126 - Install, update and schema hooks for the FlexSlider Picture module.
Code
function flexslider_picture_update_7001() {
if (!db_field_exists('flexslider_picture_optionset', 'fallback')) {
db_add_field('flexslider_picture_optionset', 'fallback', array(
'description' => 'The style machine name.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
}
}