You are here

function taxonomy_revision_schema_alter in Taxonomy revision 7

Implements hook_schema_alter().

1 call to taxonomy_revision_schema_alter()
taxonomy_revision_install in ./taxonomy_revision.install
Implements hook_install().

File

./taxonomy_revision.install, line 107
Install, update and uninstall functions for the taxonomy revision module.

Code

function taxonomy_revision_schema_alter(&$schema) {
  $schema['taxonomy_term_data']['fields']['revision_id'] = array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
    'description' => 'The revision id for the current version of a taxonomy term.',
  );
}