onDestructiveMigration property
Fired after the database has been recreated by a destructive
migration, as there was no migration from its version to the current
one. All actions are run within a single transaction.
Implementation
final FutureOr<void> Function(Database database)? onDestructiveMigration;