You are here

function og_vocab_update_6000 in OG Vocabulary 6

Fix schema.

File

./og_vocab.install, line 64
Install file for the og_vocab module.

Code

function og_vocab_update_6000() {
  $ret = array();
  db_drop_primary_key($ret, 'og_vocab');
  db_add_primary_key($ret, 'og_vocab', array(
    'vid',
  ));
  db_add_index($ret, 'og_vocab', 'nid', array(
    'nid',
  ));
  return $ret;
}