Drops the primary key of a database table.
$table: Name of the table to be altered.
... See full list
function db_drop_primary_key($table) { return Database::getConnection() ->schema() ->dropPrimaryKey($table); }