function dblog_update_7002

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

Related topics

File

modules/dblog/dblog.install, line 153

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.