db\Command dropColumn()

dropColumn() public method

Creates a SQL command for dropping a DB column.

public $this dropColumn ( $table, $column )
$table string

The table whose column is to be dropped. The name will be properly quoted by the method.

$column string

The name of the column to be dropped. The name will be properly quoted by the method.

return $this

The command object itself

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

Please login to continue.