devel_debug_log.install in Devel Debug Log 8
Same filename and directory in other branches
Devel debug log module install/schema hooks.
File
devel_debug_log.installView source
<?php
/**
* @file
* Devel debug log module install/schema hooks.
*/
function devel_debug_log_schema() {
$schema = array();
$schema['devel_debug_log'] = array(
'description' => 'Table for storing debug messages.',
'fields' => array(
'id' => array(
'description' => 'The message identifier.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
),
'timestamp' => array(
'description' => 'The Unix timestamp when the message was saved.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
),
'title' => array(
'description' => 'The title of the debug message.',
'type' => 'varchar',
'length' => '255',
'not null' => TRUE,
'default' => '',
),
'message' => array(
'description' => 'The debug message.',
'type' => 'text',
'size' => 'big',
'not null' => TRUE,
),
'serialized' => array(
'description' => 'Indicates whether the message is serialized.',
'type' => 'int',
'size' => 'small',
'not null' => TRUE,
'default' => 0,
),
),
'primary key' => array(
'id',
),
);
return $schema;
}
Functions
Name | Description |
---|---|
devel_debug_log_schema | @file Devel debug log module install/schema hooks. |