db\Migration dropColumn()

dropColumn() public method

Builds and executes a SQL statement for dropping a DB column.

public void 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.

doc_Yii
2016-10-30 16:58:10
Comments
Leave a Comment

Please login to continue.