1.20.x schema.inc abstract public DatabaseSchema::dropPrimaryKey($table)

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

includes/database/schema.inc, line 581
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

abstract public function dropPrimaryKey($table);