MigrationColumn constructor

MigrationColumn(
  1. ColumnType type, {
  2. bool isNullable = true,
  3. int length = 255,
  4. IndexType indexType = IndexType.standardIndex,
  5. dynamic defaultValue,
})

Implementation

MigrationColumn(ColumnType type,
    {bool isNullable = true,
    super.length,
    IndexType indexType = IndexType.standardIndex,
    dynamic defaultValue})
    : super(type: type, isNullable: isNullable, defaultValue: defaultValue) {
  _nullable = isNullable;
  _index = indexType;
  _defaultValue = defaultValue;
}