You are here

function weight_schema_alter in Weight 7

Implements hook_schema_alter().

File

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

Code

function weight_schema_alter(&$schema) {
  $schema['taxonomy_index']['fields']['sticky'] = array(
    'type' => 'int',
    'not null' => FALSE,
    'default' => 0,
  );
}