when a database is corrupted, just delete the database file