function advanced_menu_menu_attributes_schema in Advanced Menu 7
Same name and namespace in other branches
- 6.x menu_attributes/advanced_menu_menu_attributes.install \advanced_menu_menu_attributes_schema()
Implementation of hook_schema().
File
- menu_attributes/
advanced_menu_menu_attributes.install, line 7
Code
function advanced_menu_menu_attributes_schema() {
$schema['advanced_menu_menu_attributes_expire'] = array(
'description' => t('Holds Expiration data for menus'),
'fields' => array(
'mlid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => t('The {menu_links}.mlid to which the expiration date is assigned.'),
),
'expire' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => t('The expiration datetime for the given mlid.'),
),
),
'primary key' => array(
'mlid',
),
);
return $schema;
}