You are here

function message_update_7011 in Message 7

Add an index to message.type and message.timestamp.

File

./message.install, line 520
Install, update, and uninstall functions for the message module.

Code

function message_update_7011() {
  db_add_index('message', 'type', array(
    'type',
  ));
  db_add_index('message', 'timestamp', array(
    'timestamp',
  ));
}