dropColumn() public method
Builds a SQL statement for dropping a DB column.
public string 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 | string |
The SQL statement for dropping a DB column. |
throws | yii\base\NotSupportedException |
this is not supported by SQLite |
Please login to continue.