You are here

function tvi_update_6001 in Taxonomy Views Integrator 6

Implements tvi_hook_update_N().

See also

http://api.drupal.org/api/function/hook_update_N/6

Related topics

File

./tvi.install, line 106
Installation file for TVI module.

Code

function tvi_update_6001() {

  // Create new tvi schema.
  $ret = drupal_install_schema('tvi');

  // Copy old table values into new table.
  _tvi_update_move_6001($ret, 'tvi_vocab', 'vocid', TVI_TYPE_VOCAB);
  _tvi_update_move_6001($ret, 'tvi_term', 'termid', TVI_TYPE_TERM);
  return $ret;
}