<?php

function tb_megamenu_install() {
}

function tb_megamenu_uninstall() {
  drupal_uninstall_schema('tb_megamenu');
}

/**
 * Implementation of hook_schema().
 */
function tb_megamenu_schema() {
  $schema = array();

  $schema['tb_megamenus'] = array(
    'fields' => array(
      'menu_name' => array(
        'type' => 'varchar',
        'length' => '255',
        'not null' => TRUE,
      ),
      'block_config' => array(
        'type' => 'text',
        'not null' => FALSE,
      ),
      'menu_config' => array(
        'type' => 'text',
        'not null' => FALSE,
      ),
    ),
    'primary key' => array('menu_name'),
  );

  return $schema;
}
