You are here

function data_node_update_6001 in Data 6

Add an index to id and name.

File

data_node/data_node.install, line 62
Install hooks for Data Node module.

Code

function data_node_update_6001() {
  $ret = array();
  db_add_index($ret, 'data_table_node', 'name_id', array(
    'data_table_name',
    'id',
  ));
  return $ret;
}