changeColumnType method

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

Implementation

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