abstract public function DatabaseSchema::dropUniqueKey

7.x schema.inc abstract public DatabaseSchema::dropUniqueKey($table, $name)

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 drupal-7.x/includes/database/mysql/schema.inc
Drop a unique key.
DatabaseSchema_pgsql::dropUniqueKey in drupal-7.x/includes/database/pgsql/schema.inc
Drop a unique key.
DatabaseSchema_sqlite::dropUniqueKey in drupal-7.x/includes/database/sqlite/schema.inc
Drop a unique key.

File

drupal-7.x/includes/database/schema.inc, line 544
Generic Database schema code.

Class

DatabaseSchema

Code

abstract public function dropUniqueKey($table, $name);