abstract public function DatabaseSchema::dropPrimaryKey
7.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.
3 methods override DatabaseSchema::dropPrimaryKey()
- DatabaseSchema_mysql::dropPrimaryKey in drupal-7.x/
includes/ database/ mysql/ schema.inc - Drop the primary key.
- DatabaseSchema_pgsql::dropPrimaryKey in drupal-7.x/
includes/ database/ pgsql/ schema.inc - Drop the primary key.
- DatabaseSchema_sqlite::dropPrimaryKey in drupal-7.x/
includes/ database/ sqlite/ schema.inc - Drop the primary key.
File
- drupal-7.x/
includes/ database/ schema.inc, line 513 - Generic Database schema code.
Class
Code
abstract public function dropPrimaryKey($table);