function taxonomy_title_schema in Taxonomy Title 6
Same name and namespace in other branches
- 7 taxonomy_title.install \taxonomy_title_schema()
Implementation of hook_schema().
File
- ./
taxonomy_title.install, line 28 - Database set up and clean-up for taxonomy title module.
Code
function taxonomy_title_schema() {
$schema['taxonomy_title'] = array(
'description' => 'Records separate titles/headings for taxonomy term pages',
'fields' => array(
'tid' => array(
'type' => 'int',
'length' => '11',
'unsigned' => TRUE,
'default' => 0,
'not null' => TRUE,
),
'title' => array(
'type' => 'varchar',
'length' => '255',
'default' => '',
'not null' => TRUE,
),
),
'primary key' => array(
'tid',
),
);
return $schema;
}