clearLegacyMigrationJournal method

Future<void> clearLegacyMigrationJournal()

Implementation

Future<void> clearLegacyMigrationJournal() async {
  if (_db == null || !_isOpen) {
    return;
  }

  try {
    await _db!.delete(_legacyMigrationJournalTable);
  } catch (e, st) {
    dbLogger.warning(
      'SqliteEventStorage: clearLegacyMigrationJournal failed',
      e,
      st,
    );
    await _handlePotentialCorruption(e);
  }
}