runAndRemove method

  1. @override
Future<void> runAndRemove(
  1. S schema,
  2. String name
)
override

Runs schema, and removes name from the migrations table: in one transaction, if the database changes its tables in one.

Implementation

@override
Future<void> runAndRemove(S schema, String name) async {
  await schema.run(connection);
  await deletePath(name);
}