You are here

function taxonomy_manager_schema in Taxonomy Manager 6

Same name and namespace in other branches
  1. 6.2 taxonomy_manager.install \taxonomy_manager_schema()

Implementation of hook_schema()

File

./taxonomy_manager.install, line 22

Code

function taxonomy_manager_schema() {
  $schema['taxonomy_manager_merge'] = array(
    'fields' => array(
      'main_tid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'merged_tid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array(
      'merged_tid',
    ),
  );
  return $schema;
}