function taxonomy_title_update_7001 in Taxonomy Title 7
Implements hook_update_N(). Remove length from tid field in database.
File
- ./
taxonomy_title.install, line 45 - Database set up and clean-up for the taxonomy title module.
Code
function taxonomy_title_update_7001() {
$spec = array(
'type' => 'int',
'unsigned' => TRUE,
'default' => 0,
'not null' => TRUE,
);
db_change_field('taxonomy_title', 'tid', 'tid', $spec);
}