You are here

function tb_megamenu_update_7103 in The Better Mega Menu 7

Increase size of config columns to accommodate larger menus.

File

./tb_megamenu.install, line 71

Code

function tb_megamenu_update_7103(&$sandbox) {

  // Increase column sizes so large menus can be saved properly.
  db_change_field('tb_megamenus', 'block_config', 'block_config', array(
    'type' => 'text',
    'size' => 'medium',
    'not null' => FALSE,
  ));
  db_change_field('tb_megamenus', 'menu_config', 'menu_config', array(
    'type' => 'text',
    'size' => 'medium',
    'not null' => FALSE,
  ));
}