binary() public method (available since version 2.0.6)
Creates a binary column.
public yii\db\ColumnSchemaBuilder binary ( $length = null ) | ||
---|---|---|
$length | integer |
Column size or precision definition. This parameter will be ignored if not supported by the DBMS. |
return | yii\db\ColumnSchemaBuilder |
The column instance which can be further customized. |
Please login to continue.