You are here

function taxonomy_breadcrumb_schema in Taxonomy Breadcrumb 7

Same name and namespace in other branches
  1. 6 taxonomy_breadcrumb.install \taxonomy_breadcrumb_schema()

Implements hook_schema().

File

./taxonomy_breadcrumb.install, line 40
.install file for the taxonomy_breadcrumb module.

Code

function taxonomy_breadcrumb_schema() {
  return array(
    'taxonomy_breadcrumb_vocabulary' => array(
      'description' => 'Stores categories for aggregator feeds and feed items.',
      'fields' => array(
        'vid' => array(
          'type' => 'int',
          'not null' => TRUE,
        ),
        'path' => array(
          'type' => 'varchar',
          'length' => 128,
          'not null' => TRUE,
        ),
      ),
      'primary key' => array(
        'vid',
      ),
    ),
    'taxonomy_breadcrumb_term' => array(
      'description' => 'Stores categories for aggregator feeds and feed items.',
      'fields' => array(
        'tid' => array(
          'type' => 'int',
          'not null' => TRUE,
        ),
        'path' => array(
          'type' => 'varchar',
          'length' => 128,
          'not null' => TRUE,
        ),
      ),
      'primary key' => array(
        'tid',
      ),
    ),
  );
}