function activityhistory_update_6101 in Activity 6
The primary key defined in the schema was defined incorrectly. This update resets the PRIMARY KEY to the correct value.
File
- contrib/
activityhistory/ activityhistory.install, line 49
Code
function activityhistory_update_6101() {
$ret = array();
db_drop_primary_key($ret, 'activity_history');
db_add_primary_key($ret, 'activity_history', array(
'uid',
'aid',
));
return $ret;
}