function node_noindex_schema in Node Noindex 6
Same name and namespace in other branches
- 7 node_noindex.install \node_noindex_schema()
Implementation of hook_schema().
File
- ./
node_noindex.install, line 18 - Install, update and uninstall functions for the node_noindex module.
Code
function node_noindex_schema() {
$schema['node_noindex'] = array(
'fields' => array(
'nid' => array(
'type' => 'int',
'not null' => TRUE,
'disp-width' => '11',
),
'noindex' => array(
'type' => 'int',
'not null' => FALSE,
'disp-width' => '1',
),
),
'indexes' => array(
'noindex' => array(
'noindex',
),
),
'primary key' => array(
'nid',
),
);
return $schema;
}