function menu_target_schema in Menu target 7
Implements hook_schema and installs the database for this module
File
- ./
menu_target.install, line 11 - Uninstall hooks for Menu Target
Code
function menu_target_schema() {
$schema = array();
$schema['menu_target_links'] = array(
'fields' => array(
'id' => array(
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'mlid' => array(
'type' => 'int',
'not null' => TRUE,
),
),
'primary key' => array(
'id',
),
'unique keys' => array(
'mlid' => array(
'mlid',
),
),
);
return $schema;
}