You are here

function taxonomy_breadcrumb_schema in Taxonomy Breadcrumb 6

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

Implementation of hook_schema().

File

./taxonomy_breadcrumb.install, line 38
.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',
      ),
    ),
  );
}