onDatabaseDowngradeDelete top-level property

OnDatabaseVersionChangeFn onDatabaseDowngradeDelete
final

Downgrading will delete the database and open it again.

To set in onDowngrade if you want to delete everything on downgrade.

Implementation

final OnDatabaseVersionChangeFn onDatabaseDowngradeDelete =
    __onDatabaseDowngradeDelete;