You are here

function command_buttons_update_7105 in Command Buttons 7

Make the name and module length bigger.

File

./command_buttons.install, line 108

Code

function command_buttons_update_7105() {
  db_change_field('command_buttons', 'name', 'name', array(
    'description' => 'The machine name of the entity.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  ));
  db_change_field('command_buttons', 'module', 'module', array(
    'description' => 'The module name.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  ));
}