MysqlColumn constructor

const MysqlColumn({
  1. Input<String>? collation,
  2. Input<String>? column,
  3. Input<String>? dataType,
  4. Input<int>? length,
  5. Input<bool>? nullable,
  6. Input<int>? ordinalPosition,
  7. Input<int>? precision,
  8. Input<bool>? primaryKey,
  9. Input<int>? scale,
})

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,
});