TableProperty constructor
TableProperty({})
Creates a new TableProperty instance.
name
The database column name
type
The PostgreSQL data type
isNullable
Whether the column accepts NULL values
isPrimaryKey
Whether this is a primary key column
isAutoIncrement
Whether the column auto-increments
Implementation
TableProperty({
required this.name,
required this.type,
required this.isNullable,
required this.isPrimaryKey,
required this.isAutoIncrement,
});