alterTable method

  1. @override
String alterTable(
  1. AlterTable operation
)
override

Expresses every change operation carries, column changes, checks, and this table's index changes.

Implementation

@override
String alterTable(AlterTable operation) {
  final diff = TableDiff.of(operation);
  return _isSimple(operation, diff)
      ? _simpleAlter(operation, diff)
      : _rebuild(operation, diff);
}