function drupalmonitor_connector_schema in Drupalmonitor 7
Implements hook_schema().
File
- ./
drupalmonitor_connector.install, line 11 - Installer file of drupalmonitor_connector module
Code
function drupalmonitor_connector_schema() {
$schema['drupalmonitor_log'] = array(
'fields' => array(
'id' => array(
'type' => 'serial',
'length' => 15,
'not null' => TRUE,
),
'q' => array(
'type' => 'text',
'not null' => TRUE,
),
'dt' => array(
'type' => 'int',
'not null' => TRUE,
),
'memory' => array(
'type' => 'int',
'not null' => TRUE,
),
'execution_time' => array(
'type' => 'int',
'not null' => TRUE,
),
),
'primary key' => array(
'id',
),
);
return $schema;
}