db_drop_primary_key(&$ret, $table)
drupal/includes/database/database.inc, line 2114
Drop the primary key.
$ret Array to which query results will be added.
$table The table to be altered.
| Name | Description |
|---|---|
| Schema API | A Drupal schema definition is an array structure representing one or more tables and their related keys and indexes. A schema is defined by hook_schema(), which usually lives in a modulename.install file. |
function db_drop_primary_key(&$ret, $table) {
return Database::getActiveConnection()->schema()->dropPrimaryKey($ret, $table);
}