You are here

function uc_order_update_6019 in Ubercart 6.2

Add indexes so product and customer reports are usable with large datasets.

File

uc_order/uc_order.install, line 1064
Install, update and uninstall functions for the uc_order module.

Code

function uc_order_update_6019() {
  $ret = array();
  db_add_index($ret, 'uc_order_products', 'qty', array(
    'qty',
  ));
  db_add_index($ret, 'uc_order_products', 'nid', array(
    'nid',
  ));
  return $ret;
}