class ColumnDefinition

internal  
 

A column whose facts may still change before the schema is frozen.

Properties

bool $nullable
string|null $default
bool $autoIncrement
Identity|null $identity
Generation|null $generation
string|null $onUpdate
bool $invisible
string|null $collation
string|null $comment
bool $noInheritNotNull

Whether a PostgreSQL NOT NULL constraint applies to this table only.

bool $unvalidatedNotNull

Whether a PostgreSQL NOT NULL constraint has not validated existing rows.

Methods

__construct(string $name, ColumnType $type)

Create a column definition.

Details

at line 45
__construct(string $name, ColumnType $type)

Create a column definition.

Parameters

string $name
ColumnType $type