db\ColumnSchemaBuilder $isNotNull

$isNotNull protected property Whether the column is or not nullable. If this is true, a NOT NULL constraint will be added. If this is false, a NULL constraint will be added. protected boolean|null $isNotNull = null

db\ColumnSchemaBuilder $isFirst

$isFirst protected property (available since version 2.0.8) Whether this column is to be inserted at the beginning of the table. protected boolean $isFirst = null

db\ColumnSchemaBuilder $check

$check protected property The CHECK constraint for the column. protected string $check = null

db\ColumnSchemaBuilder $default

$default protected property Default value of the column. protected mixed $default = null

db\ColumnSchemaBuilder $comment

$comment public property (available since version 2.0.8) Comment value of the column. public string $comment = null

db\ColumnSchemaBuilder $db

$db public property (available since version 2.0.8) The current database connection. It is used mainly to escape strings safely when building the final column schema string. public yii\db\Connection $db = null

db\ColumnSchemaBuilder $categoryMap

$categoryMap public property (available since version 2.0.8) Mapping of abstract column types (keys) to type categories (values). public array $categoryMap = [\yii\db\Schema::TYPE_PK => self::CATEGORY_PK, \yii\db\Schema::TYPE_UPK => self::CATEGORY_PK, \yii\db\Schema::TYPE_BIGPK => self::CATEGORY_PK, \yii\db\Schema::TYPE_UBIGPK => self::CATEGORY_PK, \yii\db\Schema::TYPE_CHAR => self::CATEGORY_STRING, \yii\db\Schema::TYPE_STRING => self::CATEGORY_STRING, \yii\db\Schema::TYP

db\ColumnSchemaBuilder $append

$append protected property (available since version 2.0.9) SQL string to be appended to column schema definition. protected mixed $append = null

db\ColumnSchemaBuilder $after

$after protected property (available since version 2.0.8) The column after which this column will be added. protected string $after = null

db\ColumnSchema dbTypecast()

dbTypecast() public method Converts the input value according to $type and $dbType for use in a db query. If the value is null or an yii\db\Expression, it will not be converted. public mixed dbTypecast ( $value )$value mixed Input value return mixed Converted value. This may also be an array containing the value as the first element and the PDO type as the second element.