Column
class Column
Methods
__construct(string $name, ColumnType $type, bool $nullable = true, string|null $default = null, bool $autoIncrement = false, Identity|null $identity = null, Generation|null $generation = null, string|null $onUpdate = null, bool $invisible = false, string|null $collation = null, string|null $comment = null)
Create a column definition.
Details
at line 17
__construct(string $name, ColumnType $type, bool $nullable = true, string|null $default = null, bool $autoIncrement = false, Identity|null $identity = null, Generation|null $generation = null, string|null $onUpdate = null, bool $invisible = false, string|null $collation = null, string|null $comment = null)
Create a column definition.
The default is SQL text, including explicit NULL expressions. A null property means no default expression was supplied or inherited.