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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.