You are here

function autotag_schema in Taxonomy Autotagger 6

Same name and namespace in other branches
  1. 6.2 autotag.install \autotag_schema()

Implementation of hook_schema

File

./autotag.install, line 16

Code

function autotag_schema() {
  $tables['autotag'] = array(
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'length' => 10,
        'not null' => true,
      ),
      'tid' => array(
        'type' => 'int',
        'length' => 10,
        'not null' => true,
      ),
    ),
    'primary key' => array(
      'nid',
      'tid',
    ),
  );
  return $tables;
}