You are here

function tft_og_schema in Taxonomy File Tree 7.2

Implements hook_schema().

File

modules/tft_og/tft_og.install, line 40
Module install logic.

Code

function tft_og_schema() {
  return array(
    'tft_tid_og_nid' => array(
      'description' => 'Relationship between a term and an og',
      'fields' => array(
        'tid' => array(
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
        ),
        'og_nid' => array(
          'type' => 'int',
          'unsigned' => TRUE,
          'not null' => TRUE,
        ),
      ),
    ),
  );
}