DropColumn constructor

const DropColumn(
  1. String name, {
  2. required String onTable,
})

SQLite doesn't have a catch-all drop column command. On migrate, the provider can search for columns prefixed by _should_drop and generate a statement that includes the schema of the full table to be ALTERed.

Implementation

const DropColumn(
  this.name, {
  required this.onTable,
});