db\Command dropPrimaryKey()

dropPrimaryKey() public method

Creates a SQL command for removing a primary key constraint to an existing table.

public $this 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 $this

The command object itself

doc_Yii
2016-10-30 16:57:26
Comments
Leave a Comment

Please login to continue.