You are here

function simplenews_update_5000 in Simplenews 6

Same name and namespace in other branches
  1. 5 simplenews.install \simplenews_update_5000()
  2. 6.2 simplenews.install \simplenews_update_5000()

Add index to simplenews_subscriptions.

File

./simplenews.install, line 300
Simplenews installation.

Code

function simplenews_update_5000() {
  $ret = array();
  db_add_index($ret, 'simplenews_subscriptions', 'mail', array(
    'mail',
  ));
  return $ret;
}