after abstract method

void after(
  1. SQLite sqlite, {
  2. required bool finished,
})

This callback is invoked after the scheme migration finishes.

This method and the migration share the same transaction.

  • If the finished argument is true, then the migration procedure itself was performed from start to finish without failure, and an attempt to commit the migration transaction with pending database changes will be made upon a non-throwing return from this method.
  • If the finished argument is false, then the migration procedure failed, and the SQLite instance will enter the Deactivated state.

Implementation

void after(SQLite sqlite, {required bool finished});