dropPrimaryKey() public method
Builds a SQL statement for removing a primary key constraint to an existing table.
public string dropPrimaryKey ( $name, $table ) | ||
---|---|---|
$name | string |
The name of the primary key constraint to be removed. |
$table | string |
The table that the primary key constraint will be removed from. |
return | string |
The SQL statement for removing a primary key constraint from an existing table. |
Please login to continue.