function casetracker_update_9 in Case Tracker 5
File
- ./
casetracker.install, line 303
Code
function casetracker_update_9() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {casetracker_case} DROP PRIMARY KEY ");
$ret[] = update_sql("ALTER TABLE {casetracker_case} DROP INDEX vid, ADD PRIMARY KEY (vid)");
break;
}
return $ret;
}