'Sometimes it is justified to just wipe the DB and start over.'

def _upgrade_wipe_db(self, curr_ver, result_ver):

    assert (result_ver == self.VERSION)
    if exists(self.base_dir):
        log.debug('fs-write:    wipe    db')
        rmdir(self.base_dir)
    self.create()
