changeColumnType method

  1. @override
void changeColumnType(
  1. String name,
  2. ColumnType type, {
  3. int length = 256,
})

Implementation

@override
void changeColumnType(String name, ColumnType type, {int length = 256}) {
  _stack.add(
      'ALTER COLUMN $name TYPE ${MySqlGenerator.columnType(MigrationColumn(type, length: length))}');
}