| Versionen | |
|---|---|
| drupal7 | public DatabaseSchema_pgsql::dropPrimaryKey(&$ret, $table) |
Drop the primary key.
$ret Array to which query results will be added.
$table The table to be altered.
includes/
<?php
public function dropPrimaryKey(&$ret, $table) {
$ret[] = update_sql('ALTER TABLE {' . $table . '} DROP CONSTRAINT {' . $table . '}_pkey');
}
?>
Kommentare
Kommentar hinzufügen