--- taxonomy_title.install.ori 2009-12-18 16:15:58.000000000 -0500 +++ taxonomy_title.install 2010-09-09 12:37:37.000000000 -0400 @@ -37,9 +37,26 @@ function taxonomy_title_schema() { 'default' => '', 'not null' => TRUE, ), + 'page_title' => array( + 'type' => 'int', + 'size' => 'tiny', + 'unsigned' => TRUE, + 'default' => 0, + 'not null' => TRUE, + ), ), 'primary key' => array('tid'), ); return $schema; +} + +/** + * Add new field to track page title usage. + */ +function taxonomy_title_update_6000() { + $ret = array(); + $ret[] = update_sql("ALTER TABLE {taxonomy_title} ADD page_title TINYINT(2) UNSIGNED NOT NULL DEFAULT '0'"); + + return $ret; } \ No newline at end of file