function ds_update_7203 in Display Suite 7.2
Increase the view_mode storage length to 64
File
- ./
ds.install, line 302 - Display Suite install file.
Code
function ds_update_7203() {
db_change_field('ds_field_settings', 'view_mode', 'view_mode', array(
'description' => 'The name of the view_mode.',
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'default' => '',
));
db_change_field('ds_layout_settings', 'view_mode', 'view_mode', array(
'description' => 'The name of the view_mode.',
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'default' => '',
));
db_change_field('ds_view_modes', 'view_mode', 'view_mode', array(
'description' => 'The machine name of the view mode.',
'type' => 'varchar',
'length' => 64,
'not null' => TRUE,
'default' => '',
));
}