summaryrefslogtreecommitdiff
path: root/modules/dblog/dblog.schema
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dblog/dblog.schema')
-rw-r--r--modules/dblog/dblog.schema25
1 files changed, 0 insertions, 25 deletions
diff --git a/modules/dblog/dblog.schema b/modules/dblog/dblog.schema
deleted file mode 100644
index 785f1d98f..000000000
--- a/modules/dblog/dblog.schema
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-// $Id$
-
-function dblog_schema() {
- $schema['watchdog'] = array(
- 'fields' => array(
- 'wid' => array('type' => 'serial', 'not null' => TRUE),
- 'uid' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
- 'type' => array('type' => 'varchar', 'length' => 16, 'not null' => TRUE, 'default' => ''),
- 'message' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
- 'variables' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
- 'severity' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'),
- 'link' => array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => ''),
- 'location' => array('type' => 'text', 'not null' => TRUE),
- 'referer' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
- 'hostname' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
- 'timestamp' => array('type' => 'int', 'not null' => TRUE, 'default' => 0)
- ),
- 'primary key' => array('wid'),
- 'indexes' => array('type' => array('type')),
- );
-
- return $schema;
-}
-