-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevel_debug_log.install
51 lines (47 loc) · 1.22 KB
/
devel_debug_log.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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;
}