Ensure database before walking it.