MysqlColumn constructor
const
MysqlColumn({})
Creates a new MysqlColumn.
collation Column collation.
column Column name.
dataType The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
length Column length.
nullable Whether or not the column can accept a null value.
ordinalPosition The ordinal position of the column in the table.
precision Column precision.
primaryKey Whether or not the column represents a primary key.
scale Column scale.
Implementation
const MysqlColumn({
this.collation,
this.column,
this.dataType,
this.length,
this.nullable,
this.ordinalPosition,
this.precision,
this.primaryKey,
this.scale,
});