mediamosa_statistics_rest_log_schema()Implements hook_schema().
sites/all/modules/mediamosa/core/statistics/rest_log/mediamosa_statistics_rest_log.install.inc, line 52
<?php
function mediamosa_statistics_rest_log_schema() {
$a_schema[mediamosa_statistics_rest_log_db::TABLE_NAME] = array(
'description' => t('The statistics rest log table.'),
'fields' => array(
mediamosa_statistics_rest_log_db::ID => array(
'type' => 'serial',
'not null' => TRUE,
'unsigned' => TRUE,
'description' => t('Primary Key: Unique ID.'),
),
mediamosa_statistics_rest_log_db::REQUEST => array(
'type' => 'text',
'size' => 'normal',
'not null' => TRUE,
'description' => t('The request URI.'),
),
mediamosa_statistics_rest_log_db::PROCESS_TIME => array(
'type' => 'float',
'size' => 'normal',
'not null' => TRUE,
'description' => t('The process time.'),
),
mediamosa_statistics_rest_log_db::QUERY_COUNT => array(
'type' => 'int',
'not null' => TRUE,
'description' => t('The query count.'),
),
),
'primary key' => array(mediamosa_statistics_rest_log_db::ID),
);
return $a_schema;
}
?>