abstract public function DatabaseSchema::dropUniqueKey in Drupal 7
Drop a unique key.
Parameters
$table: The table to be altered.
$name: The name of the key.
Return value
TRUE if the key was successfully dropped, FALSE if there was no key by that name to begin with.
3 methods override DatabaseSchema::dropUniqueKey()
- DatabaseSchema_mysql::dropUniqueKey in includes/
database/ mysql/ schema.inc - Drop a unique key.
- DatabaseSchema_pgsql::dropUniqueKey in includes/
database/ pgsql/ schema.inc - Drop a unique key.
- DatabaseSchema_sqlite::dropUniqueKey in includes/
database/ sqlite/ schema.inc - Drop a unique key.
File
- includes/
database/ schema.inc, line 618
Class
- DatabaseSchema
- Base class for database schema definitions.
Code
public abstract function dropUniqueKey($table, $name);