addColumn method

Future<void> addColumn(
  1. String table,
  2. String columnDef
)

Add a column to a table

Implementation

Future<void> addColumn(String table, String columnDef) async {
  await executor.runCustom('ALTER TABLE $table ADD COLUMN $columnDef');
}