You are here

function weight_update_7100 in Weight 7

Change {taxonomy_index} stick field to type INT from TINYINT.

File

./weight.install, line 81
This module uses the sticky column of the node table to add weighting to nodes.

Code

function weight_update_7100() {
  $spec = array(
    'type' => 'int',
    'not null' => FALSE,
    'default' => 0,
  );
  db_change_field('taxonomy_index', 'sticky', 'sticky', $spec);
}