function DatabaseSchema_mysql::dropUniqueKey
Overrides DatabaseSchema::dropUniqueKey
File
-
includes/
database/ mysql/ schema.inc, line 436
Class
Code
public function dropUniqueKey($table, $name) {
if (!$this->indexExists($table, $name)) {
return FALSE;
}
$this->connection
->query('ALTER TABLE {' . $table . '} DROP KEY `' . $name . '`');
return TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.