function ua_logger_schema in User Agent Logger 7
Same name and namespace in other branches
- 6 ua_logger.install \ua_logger_schema()
Implements hook_schema.
File
- ./
ua_logger.install, line 11 - Contains schema definition for the UA Logger module.
Code
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;
}