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,
    int length = 255,
    IndexType indexType = IndexType.standardIndex,
    dynamic defaultValue})
    : super(
          type: type,
          length: length,
          isNullable: isNullable,
          defaultValue: defaultValue) {
  _nullable = isNullable;
  _index = indexType;
  _defaultValue = defaultValue;
}