public function DatabaseSchemaInterface::dropPrimaryKey in Schema 8
Drop the primary key.
Parameters
$table: The table to be altered.
Return value
TRUE if the primary key was successfully dropped, FALSE if there was no primary key on this table to begin with.
File
- src/
DatabaseSchemaInterface.php, line 197 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function dropPrimaryKey($table);