You are here

function i18ntaxonomy_schema_alter in Internationalization 6

Implementation of hook_schema_alter().

File

i18ntaxonomy/i18ntaxonomy.install, line 38
Installation file for i18ntaxonomy module.

Code

function i18ntaxonomy_schema_alter(&$schema) {
  $schema['vocabulary']['fields']['language'] = array(
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => '',
  );
  $schema['term_data']['fields']['language'] = array(
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => '',
  );
  $schema['term_data']['fields']['trid'] = array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  );
}