You are here

function quiz_update_6418 in Quiz 6.4

Implementation of hook_update_N

Change the primary key of the quiz_node_properties table to something more useful...

File

./quiz.install, line 151
Quiz install schema for installing the quiz module

Code

function quiz_update_6418() {
  $results = array();
  db_drop_field($results, 'quiz_node_properties', 'property_id');
  db_add_primary_key($results, 'quiz_node_properties', array(
    'vid',
  ));
  return $results;
}