@@ -85,6 +85,7 @@ function dblog_schema() {
|
||||
'indexes' => array(
|
||||
'type' => array('type'),
|
||||
'uid' => array('uid'),
|
||||
'severity' => array('severity'),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -140,3 +141,19 @@ function dblog_update_7001() {
|
||||
/**
|
||||
* @} End of "addtogroup updates-6.x-to-7.x".
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup updates-7.x-extra
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add an index to the severity column in the watchdog database table.
|
||||
*/
|
||||
function dblog_update_7002() {
|
||||
db_add_index('watchdog', 'severity', array('severity'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @} End of "addtogroup updates-7.x-extra".
|
||||
*/
|
||||
|
Reference in New Issue
Block a user