array( 'fid' => array( 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'description' => t('The unique field identifier.') ), 'vid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'description' => t('The vocabulary id of which field values can be set.') ), 'title' => array( 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'description' => t('The human readable name of this field.') ), 'description' => array( 'type' => 'text', 'size' => 'medium', 'description' => t('A description of the field for users.') ), 'type' => array( 'type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'description' => t('The type of field.') ), 'weight' => array( 'type' => 'int', 'size' => 'tiny', 'unsigned' => FALSE, 'not null' => TRUE, 'description' => t('The weight of the field.') ), 'options' => array( 'type' => 'text', 'size' => 'big', 'description' => t('Serialized array of options used for select type fields.') ) ), 'indexes' => array( 'vid' => array('vid'), ), 'primary key' => array('fid') ); $schema['term_fields_term'] = array( 'fields' => array( 'tid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE ) ), 'primary key' => array('tid') ); return $schema; }