db_drop_primary_key

Versions
6
db_drop_primary_key(&$ret, $table)
7
db_drop_primary_key($table)

Drop the primary key.

Parameters

$table The table to be altered.

Related topics

Code

includes/database/database.inc, line 2461

<?php
function db_drop_primary_key($table) {
  return Database::getConnection()->schema()->dropPrimaryKey($table);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.