function dblog_update_7002

7.x dblog.install dblog_update_7002()

Add an index to the severity column in the watchdog database table.

Related topics

File

drupal-7.x/modules/dblog/dblog.install, line 153
Install, update and uninstall functions for the dblog module.

Code

function dblog_update_7002() {
  db_add_index('watchdog', 'severity', array('severity'));
}