public function DatabaseSchemaInterface::dropUniqueKey in Schema 8
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.
File
- src/
DatabaseSchemaInterface.php, line 228 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function dropUniqueKey($table, $name);