You are here

function sheetnode_update_6004 in Sheetnode 6

Implementation of hook_update_N().

File

./sheetnode.install, line 241

Code

function sheetnode_update_6004(&$sandbox) {
  $ret = array();
  db_drop_unique_key($ret, 'sheetnode', 'nid');
  if (!$ret[0]['success']) {
    return array();
  }
  db_add_index($ret, 'sheetnode', 'nid', array(
    'nid',
  ));
  return $ret;
}