You are here

ua_logger.install in User Agent Logger 7

Same filename and directory in other branches
  1. 5 ua_logger.install
  2. 6 ua_logger.install

Contains schema definition for the UA Logger module.

File

ua_logger.install
View source
<?php

/**
 * @file
 * Contains schema definition for the UA Logger module.
 */

/**
 * Implements hook_schema.
 */
function ua_logger_schema() {
  $schema['ua_logger'] = array(
    'description' => '...??',
    'fields' => array(
      'id' => array(
        'type' => 'serial',
      ),
      'xid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
      ),
      'type' => array(
        'type' => 'varchar',
        'length' => 16,
      ),
      'ua' => array(
        'type' => 'varchar',
        'length' => 150,
      ),
    ),
    'primary key' => array(
      'id',
    ),
  );
  return $schema;
}

Functions

Namesort descending Description
ua_logger_schema Implements hook_schema.