You are here

function styles_update_7206 in Styles 7.2

Drop the label column from the {styles} table; alter the description column.

File

./styles.install, line 198
Install, update and uninstall functions for the Styles module.

Code

function styles_update_7206() {
  db_drop_field('styles', 'label');
  db_drop_index('styles', 'label');
  db_change_field('styles', 'description', 'description', array(
    'description' => 'The style description.',
    'type' => 'text',
    'not null' => TRUE,
    'size' => 'big',
  ));
}