1 schema.inc | abstract public DatabaseSchema::dropPrimaryKey($table) |
Drop the primary key.
Parameters
string $table: The table to be altered.
Return value
bool: TRUE if the primary key was successfully dropped, FALSE if there was no primary key on this table to begin with.
File
- core/
includes/ database/ schema.inc, line 537 - Generic Database schema code.
Class
- DatabaseSchema
- Base class for database schema definitions.
Code
abstract public function dropPrimaryKey($table);